#CB3EA7#CB3EA7

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

Color values

HEX#CB3EA7
RGBrgb(203, 62, 167)
HSLhsl(315, 58%, 52%)
HSVhsv(315, 69%, 80%)
CMYKcmyk(0%, 69.5%, 17.7%, 20.4%)
CIE-LABlab(50.61, 65.46, -26.52)
CIE-LCHlch(50.61, 70.63, 337.95°)
OKLaboklab(60.16% 0.1947 -0.0716)
OKLCHoklch(60.16% 0.207 339.8)
XYZxyz(33.3271, 18.9349, 38.4513)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3EA7 #3ECB62
analogous
#A93ECB #CB3EA7 #CB3E61
triadic
#CB3EA7 #A7CB3E #3EA7CB
tetradic
#CB3EA7 #CBA93E #3ECB62 #3E61CB
square
#CB3EA7 #CBA93E #3ECB62 #3E61CB
split-complementary
#CB3EA7 #61CB3E #3ECBA9
monochromatic
#701E5B #A12B83 #CB3EA7 #D86EBD #E59ED3

Accessibility & contrast

On white

4.39
#CB3EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB3EA7#FFFFFF#000000##000000
##CB3EA71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#476AAA
Deuteranopia (green-blind)
#7381A4
Tritanopia (blue-blind)
#D7426D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb3ea7;
/* rgb */ color: rgb(203, 62, 167);
/* oklch */ color: oklch(60.2% 0.207 339.8);
Tailwind
colors: {
  custom: {
    50: '#df7fc1',
    500: '#cb3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ea7;
$custom-light: #df7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ea7",
  "rgb": {
    "r": 203,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 315.319,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.20747,
    "h": 339.8
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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