#CB3B7E#CB3B7E

#CB3B7E is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.2% C 0.189 H 356.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CB3B7E
RGBrgb(203, 59, 126)
HSLhsl(332, 58%, 51%)
HSVhsv(332, 71%, 80%)
CMYKcmyk(0%, 70.9%, 37.9%, 20.4%)
CIE-LABlab(48.68, 61.50, -4.95)
CIE-LCHlch(48.68, 61.69, 355.39°)
OKLaboklab(58.24% 0.1886 -0.0123)
OKLCHoklch(58.24% 0.189 356.3)
XYZxyz(29.9604, 17.3344, 21.5028)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3B7E #3BCB88
analogous
#CB3BC6 #CB3B7E #CB403B
triadic
#CB3B7E #7ECB3B #3B7ECB
tetradic
#CB3B7E #C6CB3B #3BCB88 #403BCB
square
#CB3B7E #C6CB3B #3BCB88 #403BCB
split-complementary
#CB3B7E #3BCB40 #3BC6CB
monochromatic
#6E1D43 #9F2A60 #CB3B7E #D86B9E #E59CBE

Accessibility & contrast

On white

4.70
#CB3B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CB3B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3B7E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3B7E#FFFFFF#000000##FFFFFF
##CB3B7E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576380
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#DB2C58
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3b7e;
/* rgb */ color: rgb(203, 59, 126);
/* oklch */ color: oklch(58.2% 0.189 356.3);
Tailwind
colors: {
  custom: {
    50: '#e07ca3',
    500: '#cb3b7e',
    950: '#000000',
  },
}
SCSS
$custom: #cb3b7e;
$custom-light: #e07ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3b7e",
  "rgb": {
    "r": 203,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 332.083,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.18897,
    "h": 356.3
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#CB3B7E
secondary
#91D1B3
accent
#E19947
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB3B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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