#CB24A6#CB24A6

#CB24A6 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 58.2% C 0.232 H 339.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CB24A6
RGBrgb(203, 36, 166)
HSLhsl(313, 70%, 47%)
HSVhsv(313, 82%, 80%)
CMYKcmyk(0%, 82.3%, 18.2%, 20.4%)
CIE-LABlab(47.90, 72.93, -30.15)
CIE-LCHlch(47.90, 78.92, 337.54°)
OKLaboklab(58.19% 0.2176 -0.0817)
OKLCHoklch(58.19% 0.232 339.4)
XYZxyz(32.1434, 16.7148, 37.6025)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB24A6 #24CB49
analogous
#9C24CB #CB24A6 #CB2453
triadic
#CB24A6 #A6CB24 #24A6CB
tetradic
#CB24A6 #CB9C24 #24CB49 #2453CB
square
#CB24A6 #CB9C24 #24CB49 #2453CB
split-complementary
#CB24A6 #53CB24 #24CB9C
monochromatic
#631251 #971B7B #CB24A6 #DF4DBF #E981D2

Accessibility & contrast

On white

4.84
#CB24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#CB24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB24A6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB24A6#FFFFFF#000000##FFFFFF
##CB24A61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#6B7BA2
Tritanopia (blue-blind)
#D72D65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb24a6;
/* rgb */ color: rgb(203, 36, 166);
/* oklch */ color: oklch(58.2% 0.232 339.4);
Tailwind
colors: {
  custom: {
    50: '#df75c0',
    500: '#cb24a6',
    950: '#000000',
  },
}
SCSS
$custom: #cb24a6;
$custom-light: #df75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb24a6",
  "rgb": {
    "r": 203,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 313.293,
    "s": 69.874,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.23247,
    "h": 339.4
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#CB24A6
secondary
#7AD18D
accent
#ED623B
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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