#CB2EA8#CB2EA8

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

Color values

HEX#CB2EA8
RGBrgb(203, 46, 168)
HSLhsl(313, 63%, 49%)
HSVhsv(313, 77%, 80%)
CMYKcmyk(0%, 77.3%, 17.2%, 20.4%)
CIE-LABlab(48.86, 70.69, -29.83)
CIE-LCHlch(48.86, 76.73, 337.12°)
OKLaboklab(58.91% 0.2103 -0.0808)
OKLCHoklch(58.91% 0.225 339)
XYZxyz(32.6743, 17.4809, 38.6916)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2EA8 #2ECB51
analogous
#A02ECB #CB2EA8 #CB2E5A
triadic
#CB2EA8 #A8CB2E #2EA8CB
tetradic
#CB2EA8 #CBA02E #2ECB51 #2E5ACB
square
#CB2EA8 #CBA02E #2ECB51 #2E5ACB
split-complementary
#CB2EA8 #5ACB2E #2ECBA0
monochromatic
#671755 #99237F #CB2EA8 #DA5CBE #E58ED2

Accessibility & contrast

On white

4.67
#CB2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CB2EA8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2EA8#FFFFFF#000000##FFFFFF
##CB2EA81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AB
Deuteranopia (green-blind)
#6D7DA4
Tritanopia (blue-blind)
#D73669
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb2ea8;
/* rgb */ color: rgb(203, 46, 168);
/* oklch */ color: oklch(58.9% 0.225 339.0);
Tailwind
colors: {
  custom: {
    50: '#df78c2',
    500: '#cb2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cb2ea8;
$custom-light: #df78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2ea8",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 313.376,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.22527,
    "h": 339
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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