#CB5FB8#CB5FB8

#CB5FB8 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.7% C 0.173 H 334.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CB5FB8
RGBrgb(203, 95, 184)
HSLhsl(311, 51%, 58%)
HSVhsv(311, 53%, 80%)
CMYKcmyk(0%, 53.2%, 9.4%, 20.4%)
CIE-LABlab(56.43, 54.10, -27.41)
CIE-LCHlch(56.43, 60.65, 333.13°)
OKLaboklab(64.67% 0.1564 -0.0744)
OKLCHoklch(64.67% 0.173 334.6)
XYZxyz(37.3726, 24.3442, 48.0686)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FB8 #5FCB72
analogous
#A85FCB #CB5FB8 #CB5F82
triadic
#CB5FB8 #B8CB5F #5FB8CB
tetradic
#CB5FB8 #CBA85F #5FCB72 #5F82CB
square
#CB5FB8 #CBA85F #5FCB72 #5F82CB
split-complementary
#CB5FB8 #82CB5F #5FCBA8
monochromatic
#852B75 #B33A9D #CB5FB8 #DA8DCC #E9BBE1

Accessibility & contrast

On white

3.58
#CB5FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CB5FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FB8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FB8#FFFFFF#000000##000000
##CB5FB81.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBB
Deuteranopia (green-blind)
#7E8DB5
Tritanopia (blue-blind)
#D46583
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5fb8;
/* rgb */ color: rgb(203, 95, 184);
/* oklch */ color: oklch(64.7% 0.173 334.6);
Tailwind
colors: {
  custom: {
    50: '#dd91cd',
    500: '#cb5fb8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fb8;
$custom-light: #dd91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fb8",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 310.556,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64666,
    "c": 0.17315,
    "h": 334.6
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#CB5FB8
secondary
#ADD8B5
accent
#DA664D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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