#CB51AF#CB51AF

#CB51AF is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.188 H 337.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CB51AF
RGBrgb(203, 81, 175)
HSLhsl(314, 54%, 56%)
HSVhsv(314, 60%, 80%)
CMYKcmyk(0%, 60.1%, 13.8%, 20.4%)
CIE-LABlab(53.69, 59.07, -26.44)
CIE-LCHlch(53.69, 64.72, 335.88°)
OKLaboklab(62.52% 0.1735 -0.0715)
OKLCHoklch(62.52% 0.188 337.6)
XYZxyz(35.3094, 21.6794, 42.8740)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51AF #51CB6D
analogous
#AA51CB #CB51AF #CB5172
triadic
#CB51AF #AFCB51 #51AFCB
tetradic
#CB51AF #CBAA51 #51CB6D #5172CB
square
#CB51AF #CBAA51 #51CB6D #5172CB
split-complementary
#CB51AF #72CB51 #51CBAA
monochromatic
#7C2568 #AC3390 #CB51AF #D980C5 #E7AFDA

Accessibility & contrast

On white

3.94
#CB51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CB51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51AF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51AF#FFFFFF#000000##000000
##CB51AF1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#D55679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb51af;
/* rgb */ color: rgb(203, 81, 175);
/* oklch */ color: oklch(62.5% 0.188 337.6);
Tailwind
colors: {
  custom: {
    50: '#de89c7',
    500: '#cb51af',
    950: '#000000',
  },
}
SCSS
$custom: #cb51af;
$custom-light: #de89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51af",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 313.77,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62519,
    "c": 0.18762,
    "h": 337.6
  },
  "luminance": 0.21677
}

Semantic roles & 50–950 ramp

primary
#CB51AF
secondary
#A3D5AE
accent
#DD6C4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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