#CB4FAB#CB4FAB

#CB4FAB is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.1% C 0.188 H 339.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CB4FAB
RGBrgb(203, 79, 171)
HSLhsl(315, 54%, 55%)
HSVhsv(315, 61%, 80%)
CMYKcmyk(0%, 61.1%, 15.8%, 20.4%)
CIE-LABlab(53.20, 59.33, -24.86)
CIE-LCHlch(53.20, 64.33, 337.27°)
OKLaboklab(62.11% 0.1753 -0.067)
OKLCHoklch(62.11% 0.188 339.1)
XYZxyz(34.7759, 21.2317, 40.7868)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FAB #4FCB6F
analogous
#AD4FCB #CB4FAB #CB4F6D
triadic
#CB4FAB #ABCB4F #4FABCB
tetradic
#CB4FAB #CBAD4F #4FCB6F #4F6DCB
square
#CB4FAB #CBAD4F #4FCB6F #4F6DCB
split-complementary
#CB4FAB #6DCB4F #4FCBAD
monochromatic
#7B2465 #AA328B #CB4FAB #D97EC2 #E7ADD8

Accessibility & contrast

On white

4.00
#CB4FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB4FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FAB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FAB#FFFFFF#000000##000000
##CB4FAB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AE
Deuteranopia (green-blind)
#7A86A8
Tritanopia (blue-blind)
#D65376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4fab;
/* rgb */ color: rgb(203, 79, 171);
/* oklch */ color: oklch(62.1% 0.188 339.1);
Tailwind
colors: {
  custom: {
    50: '#de87c4',
    500: '#cb4fab',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fab;
$custom-light: #de87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fab",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 315.484,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6211,
    "c": 0.18766,
    "h": 339.1
  },
  "luminance": 0.21229
}

Semantic roles & 50–950 ramp

primary
#CB4FAB
secondary
#A1D5AE
accent
#DE704A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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