#CB4BA2#CB4BA2

#CB4BA2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.187 H 342.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CB4BA2
RGBrgb(203, 75, 162)
HSLhsl(319, 55%, 55%)
HSVhsv(319, 63%, 80%)
CMYKcmyk(0%, 63.1%, 20.2%, 20.4%)
CIE-LABlab(52.22, 59.72, -21.10)
CIE-LCHlch(52.22, 63.34, 340.55°)
OKLaboklab(61.27% 0.1786 -0.0564)
OKLCHoklch(61.27% 0.187 342.5)
XYZxyz(33.6672, 20.3404, 36.3284)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4BA2 #4BCB74
analogous
#B44BCB #CB4BA2 #CB4B62
triadic
#CB4BA2 #A2CB4B #4BA2CB
tetradic
#CB4BA2 #CBB44B #4BCB74 #4B62CB
square
#CB4BA2 #CBB44B #4BCB74 #4B62CB
split-complementary
#CB4BA2 #62CB4B #4BCBB4
monochromatic
#79235D #A83182 #CB4BA2 #D97ABB #E6AAD3

Accessibility & contrast

On white

4.14
#CB4BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CB4BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4BA2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4BA2#FFFFFF#000000##000000
##CB4BA21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#D74C70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4ba2;
/* rgb */ color: rgb(203, 75, 162);
/* oklch */ color: oklch(61.3% 0.187 342.5);
Tailwind
colors: {
  custom: {
    50: '#de85bd',
    500: '#cb4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ba2;
$custom-light: #de85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ba2",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 319.219,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.18727,
    "h": 342.5
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

primary
#CB4BA2
secondary
#9ED4AF
accent
#DF7949
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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