#CB3AA6#CB3AA6

#CB3AA6 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.8% C 0.212 H 340.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CB3AA6
RGBrgb(203, 58, 166)
HSLhsl(315, 58%, 51%)
HSVhsv(315, 71%, 80%)
CMYKcmyk(0%, 71.4%, 18.2%, 20.4%)
CIE-LABlab(50.07, 66.72, -26.77)
CIE-LCHlch(50.07, 71.89, 338.14°)
OKLaboklab(59.76% 0.1988 -0.0722)
OKLCHoklch(59.76% 0.212 340)
XYZxyz(33.0255, 18.4790, 37.8965)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AA6 #3ACB5F
analogous
#A73ACB #CB3AA6 #CB3A5D
triadic
#CB3AA6 #A6CB3A #3AA6CB
tetradic
#CB3AA6 #CBA73A #3ACB5F #3A5DCB
square
#CB3AA6 #CBA73A #3ACB5F #3A5DCB
split-complementary
#CB3AA6 #5DCB3A #3ACBA7
monochromatic
#6E1D59 #9E2A80 #CB3AA6 #D86ABC #E59BD2

Accessibility & contrast

On white

4.47
#CB3AA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CB3AA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3AA6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3AA6#FFFFFF#000000##000000
##CB3AA61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4468A9
Deuteranopia (green-blind)
#727FA3
Tritanopia (blue-blind)
#D73E6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb3aa6;
/* rgb */ color: rgb(203, 58, 166);
/* oklch */ color: oklch(59.8% 0.212 340.0);
Tailwind
colors: {
  custom: {
    50: '#df7dc0',
    500: '#cb3aa6',
    950: '#000000',
  },
}
SCSS
$custom: #cb3aa6;
$custom-light: #df7dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3aa6",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 315.31,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59755,
    "c": 0.21152,
    "h": 340
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#CB3AA6
secondary
#90D0A1
accent
#E16E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB3AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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