#CB3EA8#CB3EA8

#CB3EA8 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.208 H 339.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB3EA8
RGBrgb(203, 62, 168)
HSLhsl(315, 58%, 52%)
HSVhsv(315, 69%, 80%)
CMYKcmyk(0%, 69.5%, 17.2%, 20.4%)
CIE-LABlab(50.65, 65.60, -27.04)
CIE-LCHlch(50.65, 70.96, 337.60°)
OKLaboklab(60.21% 0.1949 -0.073)
OKLCHoklch(60.21% 0.208 339.5)
XYZxyz(33.4199, 18.9721, 38.9401)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3EA8 #3ECB61
analogous
#A83ECB #CB3EA8 #CB3E61
triadic
#CB3EA8 #A8CB3E #3EA8CB
tetradic
#CB3EA8 #CBA83E #3ECB61 #3E61CB
square
#CB3EA8 #CBA83E #3ECB61 #3E61CB
split-complementary
#CB3EA8 #61CB3E #3ECBA8
monochromatic
#701E5C #A12B83 #CB3EA8 #D86EBE #E59ED3

Accessibility & contrast

On white

4.38
#CB3EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CB3EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3EA8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3EA8#FFFFFF#000000##000000
##CB3EA81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#466AAB
Deuteranopia (green-blind)
#7381A5
Tritanopia (blue-blind)
#D7436E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb3ea8;
/* rgb */ color: rgb(203, 62, 168);
/* oklch */ color: oklch(60.2% 0.208 339.5);
Tailwind
colors: {
  custom: {
    50: '#df7fc2',
    500: '#cb3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ea8;
$custom-light: #df7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ea8",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 314.894,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.20814,
    "h": 339.5
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#CB3EA8
secondary
#94D1A3
accent
#E16D47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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