#CB4FA2#CB4FA2

#CB4FA2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.182 H 342.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CB4FA2
RGBrgb(203, 79, 162)
HSLhsl(320, 54%, 55%)
HSVhsv(320, 61%, 80%)
CMYKcmyk(0%, 61.1%, 20.2%, 20.4%)
CIE-LABlab(52.84, 58.03, -20.14)
CIE-LCHlch(52.84, 61.42, 340.86°)
OKLaboklab(61.72% 0.1734 -0.0538)
OKLCHoklch(61.72% 0.182 342.8)
XYZxyz(33.9471, 20.9002, 36.4217)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FA2 #4FCB78
analogous
#B64FCB #CB4FA2 #CB4F64
triadic
#CB4FA2 #A2CB4F #4FA2CB
tetradic
#CB4FA2 #CBB64F #4FCB78 #4F64CB
square
#CB4FA2 #CBB64F #4FCB78 #4F64CB
split-complementary
#CB4FA2 #64CB4F #4FCBB6
monochromatic
#7B245E #AA3283 #CB4FA2 #D97EBB #E7ADD4

Accessibility & contrast

On white

4.05
#CB4FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CB4FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FA2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FA2#FFFFFF#000000##000000
##CB4FA21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D75071
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4fa2;
/* rgb */ color: rgb(203, 79, 162);
/* oklch */ color: oklch(61.7% 0.182 342.8);
Tailwind
colors: {
  custom: {
    50: '#de87bd',
    500: '#cb4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fa2;
$custom-light: #de87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fa2",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 319.839,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.18159,
    "h": 342.8
  },
  "luminance": 0.20897
}

Semantic roles & 50–950 ramp

primary
#CB4FA2
secondary
#A1D5B2
accent
#DE7B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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