#CB3A7C#CB3A7C

#CB3A7C is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.189 H 357.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB3A7C
RGBrgb(203, 58, 124)
HSLhsl(333, 58%, 51%)
HSVhsv(333, 71%, 80%)
CMYKcmyk(0%, 71.4%, 38.9%, 20.4%)
CIE-LABlab(48.49, 61.64, -4.02)
CIE-LCHlch(48.49, 61.77, 356.27°)
OKLaboklab(58.08% 0.1891 -0.0098)
OKLCHoklch(58.08% 0.189 357)
XYZxyz(29.7818, 17.1815, 20.8129)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A7C #3ACB89
analogous
#CB3AC4 #CB3A7C #CB403A
triadic
#CB3A7C #7CCB3A #3A7CCB
tetradic
#CB3A7C #C4CB3A #3ACB89 #403ACB
square
#CB3A7C #C4CB3A #3ACB89 #403ACB
split-complementary
#CB3A7C #3ACB40 #3AC4CB
monochromatic
#6E1D42 #9E2A5F #CB3A7C #D86A9C #E59BBC

Accessibility & contrast

On white

4.73
#CB3A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CB3A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3A7C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A7C#FFFFFF#000000##FFFFFF
##CB3A7C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627E
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#DB2956
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3a7c;
/* rgb */ color: rgb(203, 58, 124);
/* oklch */ color: oklch(58.1% 0.189 357.0);
Tailwind
colors: {
  custom: {
    50: '#e07ca1',
    500: '#cb3a7c',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a7c;
$custom-light: #e07ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a7c",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 332.69,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.18933,
    "h": 357
  },
  "luminance": 0.17178
}

Semantic roles & 50–950 ramp

primary
#CB3A7C
secondary
#90D0B3
accent
#E19B46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CB3A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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