#CB418B#CB418B

#CB418B is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.188 H 351.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CB418B
RGBrgb(203, 65, 139)
HSLhsl(328, 57%, 53%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 68%, 31.5%, 20.4%)
CIE-LABlab(49.91, 60.74, -10.95)
CIE-LCHlch(49.91, 61.72, 349.78°)
OKLaboklab(59.29% 0.1853 -0.0283)
OKLCHoklch(59.29% 0.188 351.3)
XYZxyz(31.1807, 18.3446, 26.3199)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB418B #41CB81
analogous
#C641CB #CB418B #CB4146
triadic
#CB418B #8BCB41 #418BCB
tetradic
#CB418B #CBC641 #41CB81 #4146CB
square
#CB418B #CBC641 #41CB81 #4146CB
split-complementary
#CB418B #46CB41 #41CBC6
monochromatic
#721F4C #A22C6C #CB418B #D871A8 #E5A1C6

Accessibility & contrast

On white

4.50
#CB418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CB418B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB418B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB418B#FFFFFF#000000##000000
##CB418B1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#56678D
Deuteranopia (green-blind)
#7D8088
Tritanopia (blue-blind)
#DA3960
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb418b;
/* rgb */ color: rgb(203, 65, 139);
/* oklch */ color: oklch(59.3% 0.188 351.3);
Tailwind
colors: {
  custom: {
    50: '#df7fac',
    500: '#cb418b',
    950: '#000000',
  },
}
SCSS
$custom: #cb418b;
$custom-light: #df7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb418b",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 327.826,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59291,
    "c": 0.1875,
    "h": 351.3
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#CB418B
secondary
#96D2B2
accent
#E08E48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB418B

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

Preview Lab → · Contrast checker → · Palette generator →

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