#BA234F#BA234F
#BA234F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 10.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BA234F |
|---|---|
| RGB | rgb(186, 35, 79) |
| HSL | hsl(343, 68%, 43%) |
| HSV | hsv(343, 81%, 73%) |
| CMYK | cmyk(0%, 81.2%, 57.5%, 27.1%) |
| CIE-LAB | lab(41.55, 60.17, 13.47) |
| CIE-LCH | lch(41.55, 61.66, 12.62°) |
| OKLab | oklab(51.99% 0.1824 0.0337) |
| OKLCH | oklch(51.99% 0.185 10.5) |
| XYZ | xyz(22.2643, 12.2090, 8.5798) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.68
Purplish Red
#B0054B
ΔE00 3.93
Raspberry (survey)
#B00149
ΔE00 3.93
Rose Red
#BE013C
ΔE00 4.78
Light Burgundy
#A8415B
ΔE00 5.27
Deep Pink
#CB0162
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA234F #23BA8E
analogous
#BA239A #BA234F #BA4323
triadic
#BA234F #4FBA23 #234FBA
tetradic
#BA234F #9ABA23 #23BA8E #4323BA
square
#BA234F #9ABA23 #23BA8E #4323BA
split-complementary
#BA234F #23BA43 #239ABA
monochromatic
#531023 #861939 #BA234F #DB3F6D #E57394
Accessibility & contrast
On white
6.10
#BA234F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#BA234F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA234F
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA234F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA234F | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4F50
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba234f; /* rgb */ color: rgb(186, 35, 79); /* oklch */ color: oklch(52.0% 0.185 10.5);
Tailwind
colors: {
custom: {
50: '#d66f80',
500: '#ba234f',
950: '#000000',
},
}SCSS
$custom: #ba234f; $custom-light: #d66f80; $custom-dark: #000000;
JSON
{
"hex": "#ba234f",
"rgb": {
"r": 186,
"g": 35,
"b": 79
},
"hsl": {
"h": 342.517,
"s": 68.326,
"l": 43.333
},
"oklch": {
"l": 0.51992,
"c": 0.18548,
"h": 10.5
},
"luminance": 0.12206
}Semantic roles & 50–950 ramp
primary
#BA234F
secondary
#6DCCB0
accent
#EBB83D
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C