#BA274D#BA274D
#BA274D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.182 H 12.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA274D |
|---|---|
| RGB | rgb(186, 39, 77) |
| HSL | hsl(344, 65%, 44%) |
| HSV | hsv(344, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 58.6%, 27.1%) |
| CIE-LAB | lab(41.89, 58.93, 15.20) |
| CIE-LCH | lch(41.89, 60.86, 14.46°) |
| OKLab | oklab(52.23% 0.1781 0.0378) |
| OKLCH | oklch(52.23% 0.182 12) |
| XYZ | xyz(22.3170, 12.4293, 8.2437) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.21
Rose Red
#BE013C
ΔE00 4.15
Raspberry (survey)
#B00149
ΔE00 4.67
Purplish Red
#B0054B
ΔE00 4.74
Lipstick
#D5174E
ΔE00 5.07
Rouge
#AB1239
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA274D #27BA94
analogous
#BA2797 #BA274D #BA4B27
triadic
#BA274D #4DBA27 #274DBA
tetradic
#BA274D #97BA27 #27BA94 #4B27BA
square
#BA274D #97BA27 #27BA94 #4B27BA
split-complementary
#BA274D #27BA4B #2797BA
monochromatic
#551223 #871C38 #BA274D #D8466C #E37994
Accessibility & contrast
On white
6.03
#BA274D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA274D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA274D
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA274D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA274D | 1.00 | 6.03 | 3.49 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50504D
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba274d; /* rgb */ color: rgb(186, 39, 77); /* oklch */ color: oklch(52.2% 0.182 12.0);
Tailwind
colors: {
custom: {
50: '#d6707e',
500: '#ba274d',
950: '#000000',
},
}SCSS
$custom: #ba274d; $custom-light: #d6707e; $custom-dark: #000000;
JSON
{
"hex": "#ba274d",
"rgb": {
"r": 186,
"g": 39,
"b": 77
},
"hsl": {
"h": 344.49,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52231,
"c": 0.18201,
"h": 12
},
"luminance": 0.12426
}Semantic roles & 50–950 ramp
primary
#BA274D
secondary
#72CBB4
accent
#E8BD40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B