#BA798E#BA798E
#BA798E is a light, moderate pink. Relative luminance 0.261; OKLCH L 65.0% C 0.085 H 358.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #BA798E |
|---|---|
| RGB | rgb(186, 121, 142) |
| HSL | hsl(341, 32%, 60%) |
| HSV | hsv(341, 35%, 73%) |
| CMYK | cmyk(0%, 34.9%, 23.7%, 27.1%) |
| CIE-LAB | lab(58.10, 28.32, -0.82) |
| CIE-LCH | lch(58.10, 28.33, 358.34°) |
| OKLab | oklab(64.98% 0.0852 -0.0018) |
| OKLCH | oklch(64.98% 0.085 358.8) |
| XYZ | xyz(31.9702, 26.0688, 28.9338) |
| Luminance | 0.2607 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 3.75
Dusky Pink
#CC7A8B
ΔE00 4.52
Old Pink
#C77986
ΔE00 4.60
Muted Pink
#D1768F
ΔE00 4.87
Old Rose
#C87F89
ΔE00 5.28
Ugly Pink
#CD7584
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA798E #79BAA5
analogous
#BA79AF #BA798E #BA8479
triadic
#BA798E #8EBA79 #798EBA
tetradic
#BA798E #AFBA79 #79BAA5 #8479BA
square
#BA798E #AFBA79 #79BAA5 #8479BA
split-complementary
#BA798E #79BA84 #79AFBA
monochromatic
#7A3F52 #A2546D #BA798E #CFA1B0 #E4CAD2
Accessibility & contrast
On white
3.38
#BA798E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#BA798E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA798E
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA798E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA798E | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81858F
Deuteranopia (green-blind)
#91908D
Tritanopia (blue-blind)
#C47580
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #ba798e; /* rgb */ color: rgb(186, 121, 142); /* oklch */ color: oklch(65.0% 0.085 358.8);
Tailwind
colors: {
custom: {
50: '#d0a0af',
500: '#ba798e',
950: '#000000',
},
}SCSS
$custom: #ba798e; $custom-light: #d0a0af; $custom-dark: #000000;
JSON
{
"hex": "#ba798e",
"rgb": {
"r": 186,
"g": 121,
"b": 142
},
"hsl": {
"h": 340.615,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.64978,
"c": 0.08526,
"h": 358.8
},
"luminance": 0.26067
}Semantic roles & 50–950 ramp
primary
#BA798E
secondary
#BBD4CC
accent
#AB873B
background
#FCF9FA
surface
#F9F2F4
border
#D2CCCE
text
#140F10
muted
#827E7F