#CB4FAF#CB4FAF

#CB4FAF is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.191 H 337.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CB4FAF
RGBrgb(203, 79, 175)
HSLhsl(314, 54%, 55%)
HSVhsv(314, 61%, 80%)
CMYKcmyk(0%, 61.1%, 13.8%, 20.4%)
CIE-LABlab(53.37, 59.93, -26.93)
CIE-LCHlch(53.37, 65.70, 335.80°)
OKLaboklab(62.29% 0.176 -0.0729)
OKLCHoklch(62.29% 0.191 337.5)
XYZxyz(35.1629, 21.3865, 42.8252)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FAF #4FCB6B
analogous
#A94FCB #CB4FAF #CB4F71
triadic
#CB4FAF #AFCB4F #4FAFCB
tetradic
#CB4FAF #CBA94F #4FCB6B #4F71CB
square
#CB4FAF #CBA94F #4FCB6B #4F71CB
split-complementary
#CB4FAF #71CB4F #4FCBA9
monochromatic
#7B2468 #AA328F #CB4FAF #D97EC4 #E7ADDA

Accessibility & contrast

On white

3.98
#CB4FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CB4FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FAF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FAF#FFFFFF#000000##000000
##CB4FAF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#7886AC
Tritanopia (blue-blind)
#D55478
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4faf;
/* rgb */ color: rgb(203, 79, 175);
/* oklch */ color: oklch(62.3% 0.191 337.5);
Tailwind
colors: {
  custom: {
    50: '#de88c7',
    500: '#cb4faf',
    950: '#000000',
  },
}
SCSS
$custom: #cb4faf;
$custom-light: #de88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4faf",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 313.548,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62288,
    "c": 0.1905,
    "h": 337.5
  },
  "luminance": 0.21384
}

Semantic roles & 50–950 ramp

primary
#CB4FAF
secondary
#A1D5AD
accent
#DE6B4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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