#CB417F#CB417F

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

Color values

HEX#CB417F
RGBrgb(203, 65, 127)
HSLhsl(333, 57%, 53%)
HSVhsv(333, 68%, 80%)
CMYKcmyk(0%, 68%, 37.4%, 20.4%)
CIE-LABlab(49.51, 59.38, -4.32)
CIE-LCHlch(49.51, 59.54, 355.83°)
OKLaboklab(58.87% 0.1818 -0.0106)
OKLCHoklch(58.87% 0.182 356.7)
XYZxyz(30.3516, 18.0130, 21.9531)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB417F #41CB8D
analogous
#CB41C4 #CB417F #CB4841
triadic
#CB417F #7FCB41 #417FCB
tetradic
#CB417F #C4CB41 #41CB8D #4841CB
square
#CB417F #C4CB41 #41CB8D #4841CB
split-complementary
#CB417F #41CB48 #41C4CB
monochromatic
#721F45 #A22C61 #CB417F #D8719F #E5A1C0

Accessibility & contrast

On white

4.56
#CB417F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB417F#FFFFFF#000000##000000
##CB417F1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6581
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#DB335B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb417f;
/* rgb */ color: rgb(203, 65, 127);
/* oklch */ color: oklch(58.9% 0.182 356.7);
Tailwind
colors: {
  custom: {
    50: '#df7fa4',
    500: '#cb417f',
    950: '#000000',
  },
}
SCSS
$custom: #cb417f;
$custom-light: #df7fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb417f",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 333.043,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.18215,
    "h": 356.7
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB417F

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

Preview Lab → · Contrast checker → · Palette generator →

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