#CB5A98#CB5A98

#CB5A98 is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.7% C 0.159 H 348.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CB5A98
RGBrgb(203, 90, 152)
HSLhsl(327, 52%, 57%)
HSVhsv(327, 56%, 80%)
CMYKcmyk(0%, 55.7%, 25.1%, 20.4%)
CIE-LABlab(54.32, 51.66, -12.02)
CIE-LCHlch(54.32, 53.04, 346.90°)
OKLaboklab(62.7% 0.1558 -0.0315)
OKLCHoklch(62.7% 0.159 348.6)
XYZxyz(33.9534, 22.2789, 32.2117)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A98 #5ACB8D
analogous
#C65ACB #CB5A98 #CB5A5F
triadic
#CB5A98 #98CB5A #5A98CB
tetradic
#CB5A98 #CBC65A #5ACB8D #5A5FCB
square
#CB5A98 #CBC65A #5ACB8D #5A5FCB
split-complementary
#CB5A98 #5FCB5A #5ACBC6
monochromatic
#82295A #B0387A #CB5A98 #DA89B5 #E8B7D2

Accessibility & contrast

On white

3.85
#CB5A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CB5A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A98
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A98#FFFFFF#000000##000000
##CB5A981.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#66769A
Deuteranopia (green-blind)
#858995
Tritanopia (blue-blind)
#D85772
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb5a98;
/* rgb */ color: rgb(203, 90, 152);
/* oklch */ color: oklch(62.7% 0.159 348.6);
Tailwind
colors: {
  custom: {
    50: '#de8db6',
    500: '#cb5a98',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a98;
$custom-light: #de8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a98",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 327.08,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62701,
    "c": 0.15893,
    "h": 348.6
  },
  "luminance": 0.22276
}

Semantic roles & 50–950 ramp

primary
#CB5A98
secondary
#AAD7BE
accent
#DC8D4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150D11
muted
#847D80

Preview Lab

Preview with #CB5A98

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

Preview Lab → · Contrast checker → · Palette generator →

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