#CB3B71#CB3B71

#CB3B71 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.8% C 0.184 H 2.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CB3B71
RGBrgb(203, 59, 113)
HSLhsl(338, 58%, 51%)
HSVhsv(338, 71%, 80%)
CMYKcmyk(0%, 70.9%, 44.3%, 20.4%)
CIE-LABlab(48.29, 60.19, 2.37)
CIE-LCHlch(48.29, 60.24, 2.26°)
OKLaboklab(57.82% 0.1843 0.0068)
OKLCHoklch(57.82% 0.184 2.1)
XYZxyz(29.1754, 17.0204, 17.3685)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3B71 #3BCB95
analogous
#CB3BB9 #CB3B71 #CB4D3B
triadic
#CB3B71 #71CB3B #3B71CB
tetradic
#CB3B71 #B9CB3B #3BCB95 #4D3BCB
square
#CB3B71 #B9CB3B #3BCB95 #4D3BCB
split-complementary
#CB3B71 #3BCB4D #3BB9CB
monochromatic
#6E1D3C #9F2A56 #CB3B71 #D86B94 #E59CB7

Accessibility & contrast

On white

4.77
#CB3B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CB3B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3B71
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3B71#FFFFFF#000000##FFFFFF
##CB3B711.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6172
Deuteranopia (green-blind)
#817D6E
Tritanopia (blue-blind)
#DC2551
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3b71;
/* rgb */ color: rgb(203, 59, 113);
/* oklch */ color: oklch(57.8% 0.184 2.1);
Tailwind
colors: {
  custom: {
    50: '#e07c99',
    500: '#cb3b71',
    950: '#000000',
  },
}
SCSS
$custom: #cb3b71;
$custom-light: #e07c99;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3b71",
  "rgb": {
    "r": 203,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 337.5,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.18446,
    "h": 2.1
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#CB3B71
secondary
#91D1B9
accent
#E1A747
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CB3B71

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

Preview Lab → · Contrast checker → · Palette generator →

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