#CB5A7F#CB5A7F

#CB5A7F is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.9% C 0.148 H 1.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CB5A7F
RGBrgb(203, 90, 127)
HSLhsl(340, 52%, 57%)
HSVhsv(340, 56%, 80%)
CMYKcmyk(0%, 55.7%, 37.4%, 20.4%)
CIE-LABlab(53.54, 48.52, 1.58)
CIE-LCHlch(53.54, 48.54, 1.87°)
OKLaboklab(61.86% 0.1478 0.0047)
OKLCHoklch(61.86% 0.148 1.8)
XYZxyz(32.1173, 21.5445, 22.5416)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A7F #5ACBA6
analogous
#CB5AB8 #CB5A7F #CB6D5A
triadic
#CB5A7F #7FCB5A #5A7FCB
tetradic
#CB5A7F #B8CB5A #5ACBA6 #6D5ACB
square
#CB5A7F #B8CB5A #5ACBA6 #6D5ACB
split-complementary
#CB5A7F #5ACB6D #5AB8CB
monochromatic
#822946 #B0385F #CB5A7F #DA89A3 #E8B7C7

Accessibility & contrast

On white

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

On black

5.31
#CB5A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A7F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A7F#FFFFFF#000000##000000
##CB5A7F1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7280
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#DA5068
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5a7f;
/* rgb */ color: rgb(203, 90, 127);
/* oklch */ color: oklch(61.9% 0.148 1.8);
Tailwind
colors: {
  custom: {
    50: '#de8da4',
    500: '#cb5a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a7f;
$custom-light: #de8da4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a7f",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 127
  },
  "hsl": {
    "h": 340.354,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61861,
    "c": 0.14785,
    "h": 1.8
  },
  "luminance": 0.21541
}

Semantic roles & 50–950 ramp

primary
#CB5A7F
secondary
#AAD7C8
accent
#DCAD4C
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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