#CB5A9F#CB5A9F

#CB5A9F is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.0% C 0.163 H 345.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CB5A9F
RGBrgb(203, 90, 159)
HSLhsl(323, 52%, 57%)
HSVhsv(323, 56%, 80%)
CMYKcmyk(0%, 55.7%, 21.7%, 20.4%)
CIE-LABlab(54.57, 52.64, -15.75)
CIE-LCHlch(54.57, 54.95, 343.34°)
OKLaboklab(62.97% 0.1577 -0.0417)
OKLCHoklch(62.97% 0.163 345.2)
XYZxyz(34.5437, 22.5150, 35.3207)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A9F #5ACB86
analogous
#BF5ACB #CB5A9F #CB5A66
triadic
#CB5A9F #9FCB5A #5A9FCB
tetradic
#CB5A9F #CBBF5A #5ACB86 #5A66CB
square
#CB5A9F #CBBF5A #5ACB86 #5A66CB
split-complementary
#CB5A9F #66CB5A #5ACBBF
monochromatic
#82295F #B03881 #CB5A9F #DA89BA #E8B7D5

Accessibility & contrast

On white

3.82
#CB5A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CB5A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A9F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A9F#FFFFFF#000000##000000
##CB5A9F1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6477A1
Deuteranopia (green-blind)
#838A9C
Tritanopia (blue-blind)
#D75975
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb5a9f;
/* rgb */ color: rgb(203, 90, 159);
/* oklch */ color: oklch(63.0% 0.163 345.2);
Tailwind
colors: {
  custom: {
    50: '#de8dbb',
    500: '#cb5a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a9f;
$custom-light: #de8dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a9f",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 159
  },
  "hsl": {
    "h": 323.363,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62966,
    "c": 0.16312,
    "h": 345.2
  },
  "luminance": 0.22512
}

Semantic roles & 50–950 ramp

primary
#CB5A9F
secondary
#AAD7BB
accent
#DC844C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150D11
muted
#837D80

Preview Lab

Preview with #CB5A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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