#CB5A7E#CB5A7E

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

Color values

HEX#CB5A7E
RGBrgb(203, 90, 126)
HSLhsl(341, 52%, 57%)
HSVhsv(341, 56%, 80%)
CMYKcmyk(0%, 55.7%, 37.9%, 20.4%)
CIE-LABlab(53.51, 48.40, 2.13)
CIE-LCHlch(53.51, 48.45, 2.53°)
OKLaboklab(61.83% 0.1474 0.0061)
OKLCHoklch(61.83% 0.148 2.4)
XYZxyz(32.0525, 21.5185, 22.2001)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A7E #5ACBA7
analogous
#CB5AB7 #CB5A7E #CB6E5A
triadic
#CB5A7E #7ECB5A #5A7ECB
tetradic
#CB5A7E #B7CB5A #5ACBA7 #6E5ACB
square
#CB5A7E #B7CB5A #5ACBA7 #6E5ACB
split-complementary
#CB5A7E #5ACB6E #5AB7CB
monochromatic
#822945 #B0385E #CB5A7E #DA89A2 #E8B7C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5A7E#FFFFFF#000000##000000
##CB5A7E1.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)
#6E727F
Deuteranopia (green-blind)
#8B887B
Tritanopia (blue-blind)
#DA4F67
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5a7e;
/* rgb */ color: rgb(203, 90, 126);
/* oklch */ color: oklch(61.8% 0.148 2.4);
Tailwind
colors: {
  custom: {
    50: '#df8da3',
    500: '#cb5a7e',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a7e;
$custom-light: #df8da3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a7e",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 126
  },
  "hsl": {
    "h": 340.885,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.14755,
    "h": 2.4
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#CB5A7E
secondary
#AAD7C9
accent
#DCAE4C
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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