#CB3AA7#CB3AA7

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

Color values

HEX#CB3AA7
RGBrgb(203, 58, 167)
HSLhsl(315, 58%, 51%)
HSVhsv(315, 71%, 80%)
CMYKcmyk(0%, 71.4%, 17.7%, 20.4%)
CIE-LABlab(50.12, 66.86, -27.29)
CIE-LCHlch(50.12, 72.21, 337.80°)
OKLaboklab(59.8% 0.1989 -0.0737)
OKLCHoklch(59.8% 0.212 339.7)
XYZxyz(33.1176, 18.5158, 38.3815)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3AA7 #3ACB5E
analogous
#A73ACB #CB3AA7 #CB3A5E
triadic
#CB3AA7 #A7CB3A #3AA7CB
tetradic
#CB3AA7 #CBA73A #3ACB5E #3A5ECB
square
#CB3AA7 #CBA73A #3ACB5E #3A5ECB
split-complementary
#CB3AA7 #5ECB3A #3ACBA7
monochromatic
#6E1D5A #9E2A81 #CB3AA7 #D86ABD #E59BD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB3AA7#FFFFFF#000000##000000
##CB3AA71.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)
#4369AA
Deuteranopia (green-blind)
#7280A4
Tritanopia (blue-blind)
#D73F6C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb3aa7;
/* rgb */ color: rgb(203, 58, 167);
/* oklch */ color: oklch(59.8% 0.212 339.7);
Tailwind
colors: {
  custom: {
    50: '#df7dc1',
    500: '#cb3aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3aa7;
$custom-light: #df7dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3aa7",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 314.897,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.21217,
    "h": 339.7
  },
  "luminance": 0.18513
}

Semantic roles & 50–950 ramp

primary
#CB3AA7
secondary
#90D0A0
accent
#E16D46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB3AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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