#CB417E#CB417E

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

Color values

HEX#CB417E
RGBrgb(203, 65, 126)
HSLhsl(333, 57%, 53%)
HSVhsv(333, 68%, 80%)
CMYKcmyk(0%, 68%, 37.9%, 20.4%)
CIE-LABlab(49.48, 59.27, -3.77)
CIE-LCHlch(49.48, 59.39, 356.36°)
OKLaboklab(58.83% 0.1815 -0.0091)
OKLCHoklch(58.83% 0.182 357.1)
XYZxyz(30.2867, 17.9870, 21.6115)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB417E #41CB8E
analogous
#CB41C3 #CB417E #CB4941
triadic
#CB417E #7ECB41 #417ECB
tetradic
#CB417E #C3CB41 #41CB8E #4941CB
square
#CB417E #C3CB41 #41CB8E #4941CB
split-complementary
#CB417E #41CB49 #41C3CB
monochromatic
#721F44 #A22C61 #CB417E #D8719F #E5A1BF

Accessibility & contrast

On white

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

On black

4.60
#CB417E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB417E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB417E#FFFFFF#000000##000000
##CB417E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6580
Deuteranopia (green-blind)
#807F7B
Tritanopia (blue-blind)
#DB335A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb417e;
/* rgb */ color: rgb(203, 65, 126);
/* oklch */ color: oklch(58.8% 0.182 357.1);
Tailwind
colors: {
  custom: {
    50: '#e07fa3',
    500: '#cb417e',
    950: '#000000',
  },
}
SCSS
$custom: #cb417e;
$custom-light: #e07fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb417e",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 333.478,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.18176,
    "h": 357.1
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#CB417E
secondary
#96D2B7
accent
#E09D48
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB417E

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

Preview Lab → · Contrast checker → · Palette generator →

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