#CB2EA9#CB2EA9

#CB2EA9 is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 59.0% C 0.226 H 338.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CB2EA9
RGBrgb(203, 46, 169)
HSLhsl(313, 63%, 49%)
HSVhsv(313, 77%, 80%)
CMYKcmyk(0%, 77.3%, 16.7%, 20.4%)
CIE-LABlab(48.91, 70.83, -30.35)
CIE-LCHlch(48.91, 77.06, 336.80°)
OKLaboklab(58.96% 0.2104 -0.0823)
OKLCHoklch(58.96% 0.226 338.6)
XYZxyz(32.7679, 17.5183, 39.1841)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2EA9 #2ECB50
analogous
#9F2ECB #CB2EA9 #CB2E5B
triadic
#CB2EA9 #A9CB2E #2EA9CB
tetradic
#CB2EA9 #CB9F2E #2ECB50 #2E5BCB
square
#CB2EA9 #CB9F2E #2ECB50 #2E5BCB
split-complementary
#CB2EA9 #5BCB2E #2ECB9F
monochromatic
#671756 #99237F #CB2EA9 #DA5CBF #E58ED2

Accessibility & contrast

On white

4.66
#CB2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CB2EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2EA9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2EA9#FFFFFF#000000##FFFFFF
##CB2EA91.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AC
Deuteranopia (green-blind)
#6D7DA5
Tritanopia (blue-blind)
#D73669
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb2ea9;
/* rgb */ color: rgb(203, 46, 169);
/* oklch */ color: oklch(59.0% 0.226 338.6);
Tailwind
colors: {
  custom: {
    50: '#df78c3',
    500: '#cb2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #cb2ea9;
$custom-light: #df78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2ea9",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 312.994,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.22591,
    "h": 338.6
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#CB2EA9
secondary
#85D095
accent
#E66542
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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