#CB51A3#CB51A3

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

Color values

HEX#CB51A3
RGBrgb(203, 81, 163)
HSLhsl(320, 54%, 56%)
HSVhsv(320, 60%, 80%)
CMYKcmyk(0%, 60.1%, 19.7%, 20.4%)
CIE-LABlab(53.20, 57.30, -20.18)
CIE-LCHlch(53.20, 60.75, 340.60°)
OKLaboklab(62% 0.171 -0.0539)
OKLCHoklch(62% 0.179 342.5)
XYZxyz(34.1828, 21.2288, 36.9405)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51A3 #51CB79
analogous
#B651CB #CB51A3 #CB5166
triadic
#CB51A3 #A3CB51 #51A3CB
tetradic
#CB51A3 #CBB651 #51CB79 #5166CB
square
#CB51A3 #CBB651 #51CB79 #5166CB
split-complementary
#CB51A3 #66CB51 #51CBB6
monochromatic
#7C2560 #AC3384 #CB51A3 #D980BC #E7AFD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB51A3#FFFFFF#000000##000000
##CB51A31.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)
#5A72A6
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#D75273
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb51a3;
/* rgb */ color: rgb(203, 81, 163);
/* oklch */ color: oklch(62.0% 0.179 342.5);
Tailwind
colors: {
  custom: {
    50: '#de88be',
    500: '#cb51a3',
    950: '#000000',
  },
}
SCSS
$custom: #cb51a3;
$custom-light: #de88be;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51a3",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 319.672,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62002,
    "c": 0.17933,
    "h": 342.5
  },
  "luminance": 0.21226
}

Semantic roles & 50–950 ramp

primary
#CB51A3
secondary
#A3D5B3
accent
#DD7B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB51A3

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

Preview Lab → · Contrast checker → · Palette generator →

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