#CB5A7B#CB5A7B

#CB5A7B is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.7% C 0.147 H 4.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CB5A7B
RGBrgb(203, 90, 123)
HSLhsl(342, 52%, 57%)
HSVhsv(342, 56%, 80%)
CMYKcmyk(0%, 55.7%, 39.4%, 20.4%)
CIE-LABlab(53.43, 48.07, 3.80)
CIE-LCHlch(53.43, 48.22, 4.52°)
OKLaboklab(61.74% 0.1463 0.0104)
OKLCHoklch(61.74% 0.147 4.1)
XYZxyz(31.8618, 21.4423, 21.1959)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A7B #5ACBAA
analogous
#CB5AB3 #CB5A7B #CB725A
triadic
#CB5A7B #7BCB5A #5A7BCB
tetradic
#CB5A7B #B3CB5A #5ACBAA #725ACB
square
#CB5A7B #B3CB5A #5ACBAA #725ACB
split-complementary
#CB5A7B #5ACB72 #5AB3CB
monochromatic
#822943 #B0385B #CB5A7B #DA89A0 #E8B7C5

Accessibility & contrast

On white

3.97
#CB5A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CB5A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A7B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A7B#FFFFFF#000000##000000
##CB5A7B1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F727C
Deuteranopia (green-blind)
#8C8878
Tritanopia (blue-blind)
#DB4F66
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5a7b;
/* rgb */ color: rgb(203, 90, 123);
/* oklch */ color: oklch(61.7% 0.147 4.1);
Tailwind
colors: {
  custom: {
    50: '#df8da1',
    500: '#cb5a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a7b;
$custom-light: #df8da1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a7b",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 123
  },
  "hsl": {
    "h": 342.478,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61742,
    "c": 0.14671,
    "h": 4.1
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#CB5A7B
secondary
#AAD7CA
accent
#DCB24C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5A7B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CB5A7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva