#BA274F#BA274F
#BA274F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.182 H 11.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA274F |
|---|---|
| RGB | rgb(186, 39, 79) |
| HSL | hsl(344, 65%, 44%) |
| HSV | hsv(344, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 57.5%, 27.1%) |
| CIE-LAB | lab(41.93, 59.07, 14.01) |
| CIE-LCH | lch(41.93, 60.71, 13.34°) |
| OKLab | oklab(52.28% 0.1788 0.035) |
| OKLCH | oklch(52.28% 0.182 11.1) |
| XYZ | xyz(22.3887, 12.4579, 8.6213) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.54
Raspberry (survey)
#B00149
ΔE00 4.44
Purplish Red
#B0054B
ΔE00 4.45
Rose Red
#BE013C
ΔE00 4.67
Light Burgundy
#A8415B
ΔE00 5.13
Lipstick
#D5174E
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA274F #27BA92
analogous
#BA2799 #BA274F #BA4827
triadic
#BA274F #4FBA27 #274FBA
tetradic
#BA274F #99BA27 #27BA92 #4827BA
square
#BA274F #99BA27 #27BA92 #4827BA
split-complementary
#BA274F #27BA48 #2799BA
monochromatic
#551224 #871C3A #BA274F #D8466E #E37995
Accessibility & contrast
On white
6.02
#BA274F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA274F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA274F
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA274F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA274F | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505050
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba274f; /* rgb */ color: rgb(186, 39, 79); /* oklch */ color: oklch(52.3% 0.182 11.1);
Tailwind
colors: {
custom: {
50: '#d67080',
500: '#ba274f',
950: '#000000',
},
}SCSS
$custom: #ba274f; $custom-light: #d67080; $custom-dark: #000000;
JSON
{
"hex": "#ba274f",
"rgb": {
"r": 186,
"g": 39,
"b": 79
},
"hsl": {
"h": 343.673,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52278,
"c": 0.18221,
"h": 11.1
},
"luminance": 0.12455
}Semantic roles & 50–950 ramp
primary
#BA274F
secondary
#72CBB3
accent
#E8BA40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C