#CB3A7F#CB3A7F

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

Color values

HEX#CB3A7F
RGBrgb(203, 58, 127)
HSLhsl(331, 58%, 51%)
HSVhsv(331, 71%, 80%)
CMYKcmyk(0%, 71.4%, 37.4%, 20.4%)
CIE-LABlab(48.58, 61.96, -5.70)
CIE-LCHlch(48.58, 62.22, 354.74°)
OKLaboklab(58.18% 0.19 -0.0142)
OKLCHoklch(58.18% 0.191 355.7)
XYZxyz(29.9744, 17.2585, 21.8273)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A7F #3ACB86
analogous
#CB3AC8 #CB3A7F #CB3D3A
triadic
#CB3A7F #7FCB3A #3A7FCB
tetradic
#CB3A7F #C8CB3A #3ACB86 #3D3ACB
square
#CB3A7F #C8CB3A #3ACB86 #3D3ACB
split-complementary
#CB3A7F #3ACB3D #3AC8CB
monochromatic
#6E1D43 #9E2A61 #CB3A7F #D86A9E #E59BBE

Accessibility & contrast

On white

4.72
#CB3A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CB3A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3A7F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A7F#FFFFFF#000000##FFFFFF
##CB3A7F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566281
Deuteranopia (green-blind)
#7E7D7C
Tritanopia (blue-blind)
#DB2B58
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3a7f;
/* rgb */ color: rgb(203, 58, 127);
/* oklch */ color: oklch(58.2% 0.191 355.7);
Tailwind
colors: {
  custom: {
    50: '#e07ca4',
    500: '#cb3a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a7f;
$custom-light: #e07ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a7f",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 331.448,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.19052,
    "h": 355.7
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#CB3A7F
secondary
#90D0B2
accent
#E19846
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB3A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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