#CB3989#CB3989

#CB3989 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.5% C 0.196 H 351.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CB3989
RGBrgb(203, 57, 137)
HSLhsl(327, 58%, 51%)
HSVhsv(327, 72%, 80%)
CMYKcmyk(0%, 71.9%, 32.5%, 20.4%)
CIE-LABlab(48.80, 63.41, -11.42)
CIE-LCHlch(48.80, 64.43, 349.79°)
OKLaboklab(58.45% 0.1939 -0.0296)
OKLCHoklch(58.45% 0.196 351.3)
XYZxyz(30.6088, 17.4324, 25.4149)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3989 #39CB7B
analogous
#C439CB #CB3989 #CB3940
triadic
#CB3989 #89CB39 #3989CB
tetradic
#CB3989 #CBC439 #39CB7B #3940CB
square
#CB3989 #CBC439 #39CB7B #3940CB
split-complementary
#CB3989 #40CB39 #39CBC4
monochromatic
#6D1D49 #9D2969 #CB3989 #D869A6 #E49AC3

Accessibility & contrast

On white

4.68
#CB3989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CB3989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3989
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3989#FFFFFF#000000##FFFFFF
##CB39891.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638B
Deuteranopia (green-blind)
#7B7D86
Tritanopia (blue-blind)
#DA2F5C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3989;
/* rgb */ color: rgb(203, 57, 137);
/* oklch */ color: oklch(58.5% 0.196 351.3);
Tailwind
colors: {
  custom: {
    50: '#df7cab',
    500: '#cb3989',
    950: '#000000',
  },
}
SCSS
$custom: #cb3989;
$custom-light: #df7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3989",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 327.123,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58452,
    "c": 0.19613,
    "h": 351.3
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#CB3989
secondary
#90D0AD
accent
#E28C46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB3989

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

Preview Lab → · Contrast checker → · Palette generator →

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