#CB418C#CB418C

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

Color values

HEX#CB418C
RGBrgb(203, 65, 140)
HSLhsl(327, 57%, 53%)
HSVhsv(327, 68%, 80%)
CMYKcmyk(0%, 68%, 31%, 20.4%)
CIE-LABlab(49.95, 60.86, -11.49)
CIE-LCHlch(49.95, 61.93, 349.31°)
OKLaboklab(59.33% 0.1856 -0.0298)
OKLCHoklch(59.33% 0.188 350.9)
XYZxyz(31.2541, 18.3740, 26.7065)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB418C #41CB80
analogous
#C541CB #CB418C #CB4147
triadic
#CB418C #8CCB41 #418CCB
tetradic
#CB418C #CBC541 #41CB80 #4147CB
square
#CB418C #CBC541 #41CB80 #4147CB
split-complementary
#CB418C #47CB41 #41CBC5
monochromatic
#721F4C #A22C6D #CB418C #D871A9 #E5A1C6

Accessibility & contrast

On white

4.49
#CB418C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB418C#FFFFFF#000000##000000
##CB418C1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#56678E
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#DA3961
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb418c;
/* rgb */ color: rgb(203, 65, 140);
/* oklch */ color: oklch(59.3% 0.188 350.9);
Tailwind
colors: {
  custom: {
    50: '#df7fad',
    500: '#cb418c',
    950: '#000000',
  },
}
SCSS
$custom: #cb418c;
$custom-light: #df7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#cb418c",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 327.391,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.18799,
    "h": 350.9
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#CB418C
secondary
#96D2B1
accent
#E08D48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB418C

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

Preview Lab → · Contrast checker → · Palette generator →

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