#CB2EAC#CB2EAC

#CB2EAC is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 59.1% C 0.228 H 337.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CB2EAC
RGBrgb(203, 46, 172)
HSLhsl(312, 63%, 49%)
HSVhsv(312, 77%, 80%)
CMYKcmyk(0%, 77.3%, 15.3%, 20.4%)
CIE-LABlab(49.05, 71.23, -31.90)
CIE-LCHlch(49.05, 78.05, 335.87°)
OKLaboklab(59.1% 0.2107 -0.0867)
OKLCHoklch(59.1% 0.228 337.6)
XYZxyz(33.0527, 17.6322, 40.6844)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2EAC #2ECB4D
analogous
#9C2ECB #CB2EAC #CB2E5E
triadic
#CB2EAC #ACCB2E #2EACCB
tetradic
#CB2EAC #CB9C2E #2ECB4D #2E5ECB
square
#CB2EAC #CB9C2E #2ECB4D #2E5ECB
split-complementary
#CB2EAC #5ECB2E #2ECB9C
monochromatic
#671757 #992382 #CB2EAC #DA5CC1 #E58ED4

Accessibility & contrast

On white

4.64
#CB2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CB2EAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2EAC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2EAC#FFFFFF#000000##FFFFFF
##CB2EAC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#D6386B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb2eac;
/* rgb */ color: rgb(203, 46, 172);
/* oklch */ color: oklch(59.1% 0.228 337.6);
Tailwind
colors: {
  custom: {
    50: '#df78c5',
    500: '#cb2eac',
    950: '#000000',
  },
}
SCSS
$custom: #cb2eac;
$custom-light: #df78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2eac",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 311.847,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59104,
    "c": 0.22783,
    "h": 337.6
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

primary
#CB2EAC
secondary
#85D094
accent
#E66242
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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