#CB3972#CB3972

#CB3972 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.187 H 1.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CB3972
RGBrgb(203, 57, 114)
HSLhsl(337, 58%, 51%)
HSVhsv(337, 72%, 80%)
CMYKcmyk(0%, 71.9%, 43.8%, 20.4%)
CIE-LABlab(48.06, 60.99, 1.43)
CIE-LCHlch(48.06, 61.01, 1.35°)
OKLaboklab(57.67% 0.187 0.0044)
OKLCHoklch(57.67% 0.187 1.3)
XYZxyz(29.1312, 16.8414, 17.6330)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3972 #39CB92
analogous
#CB39BB #CB3972 #CB4939
triadic
#CB3972 #72CB39 #3972CB
tetradic
#CB3972 #BBCB39 #39CB92 #4939CB
square
#CB3972 #BBCB39 #39CB92 #4939CB
split-complementary
#CB3972 #39CB49 #39BBCB
monochromatic
#6D1D3C #9D2957 #CB3972 #D86995 #E49AB7

Accessibility & contrast

On white

4.81
#CB3972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CB3972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3972
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3972#FFFFFF#000000##FFFFFF
##CB39721.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#807C6F
Tritanopia (blue-blind)
#DC2251
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3972;
/* rgb */ color: rgb(203, 57, 114);
/* oklch */ color: oklch(57.7% 0.187 1.3);
Tailwind
colors: {
  custom: {
    50: '#e07b9a',
    500: '#cb3972',
    950: '#000000',
  },
}
SCSS
$custom: #cb3972;
$custom-light: #e07b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3972",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 336.575,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.187,
    "h": 1.3
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#CB3972
secondary
#90D0B7
accent
#E2A546
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3972

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

Preview Lab → · Contrast checker → · Palette generator →

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