#CB5A7C#CB5A7C

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

Color values

HEX#CB5A7C
RGBrgb(203, 90, 124)
HSLhsl(342, 52%, 57%)
HSVhsv(342, 56%, 80%)
CMYKcmyk(0%, 55.7%, 38.9%, 20.4%)
CIE-LABlab(53.46, 48.18, 3.24)
CIE-LCHlch(53.46, 48.29, 3.85°)
OKLaboklab(61.77% 0.1467 0.009)
OKLCHoklch(61.77% 0.147 3.5)
XYZxyz(31.9247, 21.4674, 21.5272)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A7C #5ACBA9
analogous
#CB5AB5 #CB5A7C #CB715A
triadic
#CB5A7C #7CCB5A #5A7CCB
tetradic
#CB5A7C #B5CB5A #5ACBA9 #715ACB
square
#CB5A7C #B5CB5A #5ACBA9 #715ACB
split-complementary
#CB5A7C #5ACB71 #5AB5CB
monochromatic
#822944 #B0385C #CB5A7C #DA89A1 #E8B7C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5A7C#FFFFFF#000000##000000
##CB5A7C1.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)
#6E727D
Deuteranopia (green-blind)
#8C8879
Tritanopia (blue-blind)
#DB4F67
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5a7c;
/* rgb */ color: rgb(203, 90, 124);
/* oklch */ color: oklch(61.8% 0.147 3.5);
Tailwind
colors: {
  custom: {
    50: '#df8da1',
    500: '#cb5a7c',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a7c;
$custom-light: #df8da1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a7c",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 124
  },
  "hsl": {
    "h": 341.947,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.14697,
    "h": 3.5
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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