#CB2EA6#CB2EA6

#CB2EA6 is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.8% C 0.224 H 339.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CB2EA6
RGBrgb(203, 46, 166)
HSLhsl(314, 63%, 49%)
HSVhsv(314, 77%, 80%)
CMYKcmyk(0%, 77.3%, 18.2%, 20.4%)
CIE-LABlab(48.77, 70.42, -28.79)
CIE-LCHlch(48.77, 76.08, 337.76°)
OKLaboklab(58.81% 0.21 -0.0779)
OKLCHoklch(58.81% 0.224 339.7)
XYZxyz(32.4895, 17.4069, 37.7178)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2EA6 #2ECB53
analogous
#A22ECB #CB2EA6 #CB2E58
triadic
#CB2EA6 #A6CB2E #2EA6CB
tetradic
#CB2EA6 #CBA22E #2ECB53 #2E58CB
square
#CB2EA6 #CBA22E #2ECB53 #2E58CB
split-complementary
#CB2EA6 #58CB2E #2ECBA2
monochromatic
#671754 #99237D #CB2EA6 #DA5CBC #E58ED1

Accessibility & contrast

On white

4.69
#CB2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CB2EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2EA6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2EA6#FFFFFF#000000##FFFFFF
##CB2EA61.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964A9
Deuteranopia (green-blind)
#6E7DA2
Tritanopia (blue-blind)
#D73468
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb2ea6;
/* rgb */ color: rgb(203, 46, 166);
/* oklch */ color: oklch(58.8% 0.224 339.7);
Tailwind
colors: {
  custom: {
    50: '#df78c0',
    500: '#cb2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cb2ea6;
$custom-light: #df78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2ea6",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 314.14,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.22402,
    "h": 339.7
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

primary
#CB2EA6
secondary
#85D097
accent
#E66842
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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