#CB2EA7#CB2EA7

#CB2EA7 is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.9% C 0.225 H 339.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CB2EA7
RGBrgb(203, 46, 167)
HSLhsl(314, 63%, 49%)
HSVhsv(314, 77%, 80%)
CMYKcmyk(0%, 77.3%, 17.7%, 20.4%)
CIE-LABlab(48.81, 70.56, -29.31)
CIE-LCHlch(48.81, 76.40, 337.44°)
OKLaboklab(58.86% 0.2102 -0.0794)
OKLCHoklch(58.86% 0.225 339.3)
XYZxyz(32.5815, 17.4438, 38.2028)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2EA7 #2ECB52
analogous
#A12ECB #CB2EA7 #CB2E59
triadic
#CB2EA7 #A7CB2E #2EA7CB
tetradic
#CB2EA7 #CBA12E #2ECB52 #2E59CB
square
#CB2EA7 #CBA12E #2ECB52 #2E59CB
split-complementary
#CB2EA7 #59CB2E #2ECBA1
monochromatic
#671755 #99237E #CB2EA7 #DA5CBD #E58ED1

Accessibility & contrast

On white

4.68
#CB2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CB2EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2EA7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2EA7#FFFFFF#000000##FFFFFF
##CB2EA71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964AA
Deuteranopia (green-blind)
#6E7DA3
Tritanopia (blue-blind)
#D73568
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb2ea7;
/* rgb */ color: rgb(203, 46, 167);
/* oklch */ color: oklch(58.9% 0.225 339.3);
Tailwind
colors: {
  custom: {
    50: '#df78c1',
    500: '#cb2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cb2ea7;
$custom-light: #df78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2ea7",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 313.758,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5886,
    "c": 0.22464,
    "h": 339.3
  },
  "luminance": 0.17441
}

Semantic roles & 50–950 ramp

primary
#CB2EA7
secondary
#85D096
accent
#E66742
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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