#CB337D#CB337D

#CB337D is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.5% C 0.197 H 355.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CB337D
RGBrgb(203, 51, 125)
HSLhsl(331, 60%, 50%)
HSVhsv(331, 75%, 80%)
CMYKcmyk(0%, 74.9%, 38.4%, 20.4%)
CIE-LABlab(47.69, 64.08, -5.82)
CIE-LCHlch(47.69, 64.35, 354.81°)
OKLaboklab(57.5% 0.1968 -0.0145)
OKLCHoklch(57.5% 0.197 355.8)
XYZxyz(29.5161, 16.5485, 21.0379)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB337D #33CB81
analogous
#CB33C9 #CB337D #CB3533
triadic
#CB337D #7DCB33 #337DCB
tetradic
#CB337D #C9CB33 #33CB81 #3533CB
square
#CB337D #C9CB33 #33CB81 #3533CB
split-complementary
#CB337D #33CB35 #33C9CB
monochromatic
#691A41 #9A275F #CB337D #D8639C #E494BB

Accessibility & contrast

On white

4.87
#CB337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CB337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB337D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB337D#FFFFFF#000000##FFFFFF
##CB337D1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525F7F
Deuteranopia (green-blind)
#7C7B7A
Tritanopia (blue-blind)
#DB2054
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cb337d;
/* rgb */ color: rgb(203, 51, 125);
/* oklch */ color: oklch(57.5% 0.197 355.8);
Tailwind
colors: {
  custom: {
    50: '#e079a2',
    500: '#cb337d',
    950: '#000000',
  },
}
SCSS
$custom: #cb337d;
$custom-light: #e079a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb337d",
  "rgb": {
    "r": 203,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 330.789,
    "s": 59.843,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.19735,
    "h": 355.8
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

primary
#CB337D
secondary
#8BCFAE
accent
#E39645
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CB337D

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

Preview Lab → · Contrast checker → · Palette generator →

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