#CB5A7D#CB5A7D

#CB5A7D is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.8% C 0.147 H 2.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CB5A7D
RGBrgb(203, 90, 125)
HSLhsl(341, 52%, 57%)
HSVhsv(341, 56%, 80%)
CMYKcmyk(0%, 55.7%, 38.4%, 20.4%)
CIE-LABlab(53.48, 48.29, 2.69)
CIE-LCHlch(53.48, 48.36, 3.19°)
OKLaboklab(61.8% 0.1471 0.0076)
OKLCHoklch(61.8% 0.147 2.9)
XYZxyz(31.9883, 21.4929, 21.8620)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A7D #5ACBA8
analogous
#CB5AB6 #CB5A7D #CB705A
triadic
#CB5A7D #7DCB5A #5A7DCB
tetradic
#CB5A7D #B6CB5A #5ACBA8 #705ACB
square
#CB5A7D #B6CB5A #5ACBA8 #705ACB
split-complementary
#CB5A7D #5ACB70 #5AB6CB
monochromatic
#822944 #B0385D #CB5A7D #DA89A2 #E8B7C6

Accessibility & contrast

On white

3.96
#CB5A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CB5A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A7D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A7D#FFFFFF#000000##000000
##CB5A7D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E727E
Deuteranopia (green-blind)
#8C887A
Tritanopia (blue-blind)
#DB4F67
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5a7d;
/* rgb */ color: rgb(203, 90, 125);
/* oklch */ color: oklch(61.8% 0.147 2.9);
Tailwind
colors: {
  custom: {
    50: '#df8da2',
    500: '#cb5a7d',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a7d;
$custom-light: #df8da2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a7d",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 125
  },
  "hsl": {
    "h": 341.416,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61801,
    "c": 0.14725,
    "h": 2.9
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#CB5A7D
secondary
#AAD7C9
accent
#DCAF4C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CB5A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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