#CB3BA8#CB3BA8

#CB3BA8 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.212 H 339.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB3BA8
RGBrgb(203, 59, 168)
HSLhsl(315, 58%, 51%)
HSVhsv(315, 71%, 80%)
CMYKcmyk(0%, 70.9%, 17.2%, 20.4%)
CIE-LABlab(50.28, 66.65, -27.62)
CIE-LCHlch(50.28, 72.15, 337.49°)
OKLaboklab(59.94% 0.1981 -0.0747)
OKLCHoklch(59.94% 0.212 339.3)
XYZxyz(33.2613, 18.6548, 38.8872)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3BA8 #3BCB5E
analogous
#A63BCB #CB3BA8 #CB3B60
triadic
#CB3BA8 #A8CB3B #3BA8CB
tetradic
#CB3BA8 #CBA63B #3BCB5E #3B60CB
square
#CB3BA8 #CBA63B #3BCB5E #3B60CB
split-complementary
#CB3BA8 #60CB3B #3BCBA6
monochromatic
#6E1D5B #9F2A82 #CB3BA8 #D86BBD #E59CD3

Accessibility & contrast

On white

4.44
#CB3BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CB3BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3BA8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3BA8#FFFFFF#000000##000000
##CB3BA81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4369AB
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#D7406D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb3ba8;
/* rgb */ color: rgb(203, 59, 168);
/* oklch */ color: oklch(59.9% 0.212 339.3);
Tailwind
colors: {
  custom: {
    50: '#df7dc2',
    500: '#cb3ba8',
    950: '#000000',
  },
}
SCSS
$custom: #cb3ba8;
$custom-light: #df7dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3ba8",
  "rgb": {
    "r": 203,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 314.583,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.21167,
    "h": 339.3
  },
  "luminance": 0.18652
}

Semantic roles & 50–950 ramp

primary
#CB3BA8
secondary
#91D1A1
accent
#E16C47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB3BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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