#CB2EA5#CB2EA5

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

Color values

HEX#CB2EA5
RGBrgb(203, 46, 165)
HSLhsl(315, 63%, 49%)
HSVhsv(315, 77%, 80%)
CMYKcmyk(0%, 77.3%, 18.7%, 20.4%)
CIE-LABlab(48.72, 70.29, -28.27)
CIE-LCHlch(48.72, 75.76, 338.09°)
OKLaboklab(58.77% 0.2099 -0.0764)
OKLCHoklch(58.77% 0.223 340)
XYZxyz(32.3981, 17.3704, 37.2366)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2EA5 #2ECB54
analogous
#A32ECB #CB2EA5 #CB2E57
triadic
#CB2EA5 #A5CB2E #2EA5CB
tetradic
#CB2EA5 #CBA32E #2ECB54 #2E57CB
square
#CB2EA5 #CBA32E #2ECB54 #2E57CB
split-complementary
#CB2EA5 #57CB2E #2ECBA3
monochromatic
#671754 #99237C #CB2EA5 #DA5CBC #E58ED0

Accessibility & contrast

On white

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

On black

4.47
#CB2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CB2EA5#FFFFFF#000000##FFFFFF
##CB2EA51.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#6E7DA1
Tritanopia (blue-blind)
#D73467
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb2ea5;
/* rgb */ color: rgb(203, 46, 165);
/* oklch */ color: oklch(58.8% 0.223 340.0);
Tailwind
colors: {
  custom: {
    50: '#df78c0',
    500: '#cb2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cb2ea5;
$custom-light: #df78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2ea5",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 314.522,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.22339,
    "h": 340
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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