Tailwind CSS v3 color
Tailwind pink-700 #BE185D
Tailwind CSS v3's pink-700 is #BE185D. It is a vivid pink in the pink family. In OKLCH it sits at lightness 0.525, chroma 0.199 and hue 4.0°. The nearest CSS named color is mediumvioletred (#C71585), ΔE2000 8.8 away.
- Relative luminance
- 0.1239
- OKLCH L · C · h
- 0.525 · 0.199 · 4.0
- Best text
- White 6.03:1
- Hue family
- Pink
#BE185D color codes
- HEX
#BE185D- RGB
rgb(190, 24, 93)- HSL
hsl(335, 78%, 42%)- OKLCH
oklch(0.525 0.199 4.0)- OKLab
oklab(0.525 0.198 0.014)- CIELAB (D65)
L* 41.84, a* 64.70, b* 5.16- XYZ (D65)
X 23.54, Y 12.39, Z 11.51- CMYK (naive)
cmyk(0%, 87%, 51%, 25%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #BE185D accessible?
White text on it reaches 6.03:1, passing AA. Black text manages only 3.47:1, enough for large text only.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
3.47:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +25
-
White text on it
6.03:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −83
-
As text on black
3.47:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −23
-
As text on white
6.03:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +78
Nearest versions that pass 4.5:1
-
For text on white
#BE185D 6.03:1
It already reaches 6.03:1 on white, so no change is needed.
-
For text on black
#D5356F 4.56:1
Lightening its OKLCH lightness from 0.52 to 0.59 reaches 4.56:1 on black, keeping the hue.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #BE185D live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #BE185D
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #BE185D sits at step 600.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Tailwind CSS v3 pink scale
The real Tailwind palette, for comparison with the computed ramp above.
Gamut
How vivid #BE185D can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.211; #BE185D uses 94% of it. Display P3, which many recent phones and laptops show, reaches 0.238 there: 13% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.199
- sRGB edge
- 0.211
- Display P3 edge
- 0.238
- Rec. 2020 edge
- 0.279
- Dominant wavelength
- Complementary 496 nm
- Excitation purity
- 58%
- Chromaticity
- x 0.4962, y 0.2613
- This color#BE185D
- Most vivid in sRGB#C2005C
- Most vivid in Display P3oklch(0.525 0.238 4.0)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #be185d;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.7279 0 0.3537); }
}
Mixing
Mixing #BE185D
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#DF8CAE
- OKLab50%#E897AA
- OKLCH50%#E897AA
Black #000000
- sRGB50%#5F0C2F
- OKLab50%#48041F
- OKLCH50%#48041F
Its complement #007B70
- sRGB50%#5F4A67
- OKLab50%#855D67
- OKLCH50%#525FBD
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #be185d, white);
color: color-mix(in oklch, #be185d 50%, white);
In use
#BE185D in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:16.03:1 Passes
- Link and body-size textText, 4.5:16.03:1 Passes
- Large headingLarge text, 3:16.03:1 Passes
- Icons, borders and focus ringsNon-text, 3:16.03:1 Passes
Dark page
- Button labelText, 4.5:16.03:1 Passes
- Link and body-size textText, 4.5:13.10:1 Fails
- Large headingLarge text, 3:13.10:1 Passes
- Icons, borders and focus ringsNon-text, 3:13.10:1 Passes
For text on this page, the nearest shade that passes is #DE3F77 4.53:1
Color vision
How #BE185D looks with color blindness
Deuteranopia changes it most, ΔE2000 36.3; tritanopia changes it least, 11.2.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#484E5E ΔE2000 30.6
Distinct
Reads as dark grayish blue
-
Deuteranopia
No working green (medium-wavelength) cones
#736E59 ΔE2000 36.3
Distinct
Reads as grayish brown
-
Tritanopia
No working blue (short-wavelength) cones
#CF003A ΔE2000 11.2
Distinct
Reads as vivid red
-
Achromatopsia
No cone color vision; lightness only
#636363 ΔE2000 26.8
Distinct
Reads as dark gray
Pairing check
Checked against its complement, #007B70. Their lightness contrast is only 1.16:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #BE185D · #007B70 | 62.6 | Stays distinct |
| Protanopia | #484E5E · #747370 | 17.1 | Stays distinct |
| Deuteranopia | #736E59 · #666971 | 15.3 | Stays distinct |
| Tritanopia | #CF003A · #007E78 | 59.6 | Stays distinct |
| Achromatopsia | #636363 · #6D6D6D | 3.8 | Easily confused |
Harmony
Color harmonies for #BE185D
Its complement is #007B70, a muted teal, on the cool side of the wheel.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#BE185D
- Complement#007B70
Complementary
Open in Harmony Studio- −30°#A92B98
- Base#BE185D
- +30°#BF2A00
Analogous
Open in Harmony Studio- Base#BE185D
- +120°#5B7600
- +240°#0070AF
Triadic
Open in Harmony Studio- Base#BE185D
- +150°#007F45
- +210°#00778B
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-pink-700: #be185d;
}
// tailwind.config.js — already built in as pink-700;
// pin the v3 value explicitly like this:
module.exports = {
theme: {
extend: {
colors: {
pink: { 700: '#be185d' },
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
/* v4 has its own pink-700; this pins the v3 value. */
--color-pink-700: oklch(0.525 0.199 4.0);
}
{
"color": {
"pink-700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.7451, 0.0941, 0.3647],
"hex": "#be185d"
},
"$description": "Tailwind CSS v3 pink-700"
}
}
}
import SwiftUI
enum Palette {
static let pink700 = Color(.sRGB, red: 0.745, green: 0.094, blue: 0.365, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Pink700 = Color(0xFFBE185D)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #BE185D in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.