#CB3EA2#CB3EA2

#CB3EA2 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 59.9% C 0.204 H 341.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CB3EA2
RGBrgb(203, 62, 162)
HSLhsl(317, 58%, 52%)
HSVhsv(317, 69%, 80%)
CMYKcmyk(0%, 69.5%, 20.2%, 20.4%)
CIE-LABlab(50.40, 64.78, -23.90)
CIE-LCHlch(50.40, 69.04, 339.75°)
OKLaboklab(59.94% 0.1939 -0.0642)
OKLCHoklch(59.94% 0.204 341.7)
XYZxyz(32.8738, 18.7536, 36.0639)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3EA2 #3ECB67
analogous
#AE3ECB #CB3EA2 #CB3E5C
triadic
#CB3EA2 #A2CB3E #3EA2CB
tetradic
#CB3EA2 #CBAE3E #3ECB67 #3E5CCB
square
#CB3EA2 #CBAE3E #3ECB67 #3E5CCB
split-complementary
#CB3EA2 #5CCB3E #3ECBAE
monochromatic
#701E58 #A12B7E #CB3EA2 #D86EB9 #E59ED0

Accessibility & contrast

On white

4.42
#CB3EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CB3EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3EA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3EA2#FFFFFF#000000##000000
##CB3EA21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#D7406B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb3ea2;
/* rgb */ color: rgb(203, 62, 162);
/* oklch */ color: oklch(59.9% 0.204 341.7);
Tailwind
colors: {
  custom: {
    50: '#df7fbd',
    500: '#cb3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ea2;
$custom-light: #df7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ea2",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 317.447,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.20426,
    "h": 341.7
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#CB3EA2
secondary
#94D1A5
accent
#E17447
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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