#CB3DA8#CB3DA8

#CB3DA8 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.1% C 0.209 H 339.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CB3DA8
RGBrgb(203, 61, 168)
HSLhsl(315, 58%, 52%)
HSVhsv(315, 70%, 80%)
CMYKcmyk(0%, 70%, 17.2%, 20.4%)
CIE-LABlab(50.53, 65.96, -27.24)
CIE-LCHlch(50.53, 71.36, 337.56°)
OKLaboklab(60.11% 0.196 -0.0736)
OKLCHoklch(60.11% 0.209 339.4)
XYZxyz(33.3660, 18.8643, 38.9221)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3DA8 #3DCB60
analogous
#A73DCB #CB3DA8 #CB3D61
triadic
#CB3DA8 #A8CB3D #3DA8CB
tetradic
#CB3DA8 #CBA73D #3DCB60 #3D61CB
square
#CB3DA8 #CBA73D #3DCB60 #3D61CB
split-complementary
#CB3DA8 #61CB3D #3DCBA7
monochromatic
#701E5C #A02B83 #CB3DA8 #D86DBE #E59ED3

Accessibility & contrast

On white

4.40
#CB3DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CB3DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3DA8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3DA8#FFFFFF#000000##000000
##CB3DA81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#456AAB
Deuteranopia (green-blind)
#7380A5
Tritanopia (blue-blind)
#D7426D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb3da8;
/* rgb */ color: rgb(203, 61, 168);
/* oklch */ color: oklch(60.1% 0.209 339.4);
Tailwind
colors: {
  custom: {
    50: '#df7ec2',
    500: '#cb3da8',
    950: '#000000',
  },
}
SCSS
$custom: #cb3da8;
$custom-light: #df7ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3da8",
  "rgb": {
    "r": 203,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 314.789,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.20933,
    "h": 339.4
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#CB3DA8
secondary
#93D1A2
accent
#E16D47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB3DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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