#CB3DA7#CB3DA7

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

Color values

HEX#CB3DA7
RGBrgb(203, 61, 167)
HSLhsl(315, 58%, 52%)
HSVhsv(315, 70%, 80%)
CMYKcmyk(0%, 70%, 17.7%, 20.4%)
CIE-LABlab(50.48, 65.82, -26.72)
CIE-LCHlch(50.48, 71.03, 337.91°)
OKLaboklab(60.07% 0.1958 -0.0721)
OKLCHoklch(60.07% 0.209 339.8)
XYZxyz(33.2732, 18.8272, 38.4334)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3DA7 #3DCB61
analogous
#A83DCB #CB3DA7 #CB3D60
triadic
#CB3DA7 #A7CB3D #3DA7CB
tetradic
#CB3DA7 #CBA83D #3DCB61 #3D60CB
square
#CB3DA7 #CBA83D #3DCB61 #3D60CB
split-complementary
#CB3DA7 #60CB3D #3DCBA8
monochromatic
#701E5B #A02B82 #CB3DA7 #D86DBD #E59ED3

Accessibility & contrast

On white

4.41
#CB3DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CB3DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3DA7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3DA7#FFFFFF#000000##000000
##CB3DA71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#D7416D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb3da7;
/* rgb */ color: rgb(203, 61, 167);
/* oklch */ color: oklch(60.1% 0.209 339.8);
Tailwind
colors: {
  custom: {
    50: '#df7ec1',
    500: '#cb3da7',
    950: '#000000',
  },
}
SCSS
$custom: #cb3da7;
$custom-light: #df7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3da7",
  "rgb": {
    "r": 203,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 315.211,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60069,
    "c": 0.20868,
    "h": 339.8
  },
  "luminance": 0.18824
}

Semantic roles & 50–950 ramp

primary
#CB3DA7
secondary
#93D1A3
accent
#E16E47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB3DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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