#CB417D#CB417D

#CB417D is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.181 H 357.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CB417D
RGBrgb(203, 65, 125)
HSLhsl(334, 57%, 53%)
HSVhsv(334, 68%, 80%)
CMYKcmyk(0%, 68%, 38.4%, 20.4%)
CIE-LABlab(49.45, 59.16, -3.21)
CIE-LCHlch(49.45, 59.25, 356.90°)
OKLaboklab(58.8% 0.1812 -0.0077)
OKLCHoklch(58.8% 0.181 357.6)
XYZxyz(30.2225, 17.9614, 21.2734)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB417D #41CB8F
analogous
#CB41C2 #CB417D #CB4A41
triadic
#CB417D #7DCB41 #417DCB
tetradic
#CB417D #C2CB41 #41CB8F #4A41CB
square
#CB417D #C2CB41 #41CB8F #4A41CB
split-complementary
#CB417D #41CB4A #41C2CB
monochromatic
#721F43 #A22C60 #CB417D #D8719E #E5A1BF

Accessibility & contrast

On white

4.57
#CB417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CB417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB417D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB417D#FFFFFF#000000##000000
##CB417D1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B657F
Deuteranopia (green-blind)
#817F7A
Tritanopia (blue-blind)
#DB335A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb417d;
/* rgb */ color: rgb(203, 65, 125);
/* oklch */ color: oklch(58.8% 0.181 357.6);
Tailwind
colors: {
  custom: {
    50: '#e07fa2',
    500: '#cb417d',
    950: '#000000',
  },
}
SCSS
$custom: #cb417d;
$custom-light: #e07fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb417d",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 333.913,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.18137,
    "h": 357.6
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#CB417D
secondary
#96D2B8
accent
#E09E48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CB417D

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

Preview Lab → · Contrast checker → · Palette generator →

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