#CB5FAF#CB5FAF

#CB5FAF is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.3% C 0.166 H 338.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CB5FAF
RGBrgb(203, 95, 175)
HSLhsl(316, 51%, 58%)
HSVhsv(316, 53%, 80%)
CMYKcmyk(0%, 53.2%, 13.8%, 20.4%)
CIE-LABlab(56.07, 52.66, -22.77)
CIE-LCHlch(56.07, 57.38, 336.61°)
OKLaboklab(64.28% 0.1545 -0.0613)
OKLCHoklch(64.28% 0.166 338.4)
XYZxyz(36.4591, 23.9788, 43.2572)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FAF #5FCB7B
analogous
#B15FCB #CB5FAF #CB5F79
triadic
#CB5FAF #AFCB5F #5FAFCB
tetradic
#CB5FAF #CBB15F #5FCB7B #5F79CB
square
#CB5FAF #CBB15F #5FCB7B #5F79CB
split-complementary
#CB5FAF #79CB5F #5FCBB1
monochromatic
#852B6D #B33A93 #CB5FAF #DA8DC6 #E9BBDD

Accessibility & contrast

On white

3.62
#CB5FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CB5FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FAF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FAF#FFFFFF#000000##000000
##CB5FAF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB2
Deuteranopia (green-blind)
#818DAC
Tritanopia (blue-blind)
#D5627F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5faf;
/* rgb */ color: rgb(203, 95, 175);
/* oklch */ color: oklch(64.3% 0.166 338.4);
Tailwind
colors: {
  custom: {
    50: '#dd91c7',
    500: '#cb5faf',
    950: '#000000',
  },
}
SCSS
$custom: #cb5faf;
$custom-light: #dd91c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5faf",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 315.556,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64276,
    "c": 0.16621,
    "h": 338.4
  },
  "luminance": 0.23976
}

Semantic roles & 50–950 ramp

primary
#CB5FAF
secondary
#ADD8B9
accent
#DA724D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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