#CB4FA1#CB4FA1

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

Color values

HEX#CB4FA1
RGBrgb(203, 79, 161)
HSLhsl(320, 54%, 55%)
HSVhsv(320, 61%, 80%)
CMYKcmyk(0%, 61.1%, 20.7%, 20.4%)
CIE-LABlab(52.80, 57.89, -19.62)
CIE-LCHlch(52.80, 61.12, 341.28°)
OKLaboklab(61.68% 0.1732 -0.0523)
OKLCHoklch(61.68% 0.181 343.2)
XYZxyz(33.8586, 20.8648, 35.9554)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FA1 #4FCB79
analogous
#B74FCB #CB4FA1 #CB4F63
triadic
#CB4FA1 #A1CB4F #4FA1CB
tetradic
#CB4FA1 #CBB74F #4FCB79 #4F63CB
square
#CB4FA1 #CBB74F #4FCB79 #4F63CB
split-complementary
#CB4FA1 #63CB4F #4FCBB7
monochromatic
#7B245E #AA3282 #CB4FA1 #D97EBA #E7ADD3

Accessibility & contrast

On white

4.06
#CB4FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CB4FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FA1
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FA1#FFFFFF#000000##000000
##CB4FA11.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#7D869E
Tritanopia (blue-blind)
#D74F71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4fa1;
/* rgb */ color: rgb(203, 79, 161);
/* oklch */ color: oklch(61.7% 0.181 343.2);
Tailwind
colors: {
  custom: {
    50: '#de87bd',
    500: '#cb4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fa1;
$custom-light: #de87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fa1",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 320.323,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.18095,
    "h": 343.2
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#CB4FA1
secondary
#A1D5B3
accent
#DE7C4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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