#CB4DA7#CB4DA7

#CB4DA7 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.188 H 340.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB4DA7
RGBrgb(203, 77, 167)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 62%, 80%)
CMYKcmyk(0%, 62.1%, 17.7%, 20.4%)
CIE-LABlab(52.73, 59.60, -23.25)
CIE-LCHlch(52.73, 63.97, 338.69°)
OKLaboklab(61.71% 0.1771 -0.0625)
OKLCHoklch(61.71% 0.188 340.6)
XYZxyz(34.2583, 20.7973, 38.7617)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DA7 #4DCB71
analogous
#B04DCB #CB4DA7 #CB4D68
triadic
#CB4DA7 #A7CB4D #4DA7CB
tetradic
#CB4DA7 #CBB04D #4DCB71 #4D68CB
square
#CB4DA7 #CBB04D #4DCB71 #4D68CB
split-complementary
#CB4DA7 #68CB4D #4DCBB0
monochromatic
#7A2461 #A93187 #CB4DA7 #D97CBE #E7ACD6

Accessibility & contrast

On white

4.07
#CB4DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB4DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DA7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DA7#FFFFFF#000000##000000
##CB4DA71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#D65073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4da7;
/* rgb */ color: rgb(203, 77, 167);
/* oklch */ color: oklch(61.7% 0.188 340.6);
Tailwind
colors: {
  custom: {
    50: '#de86c1',
    500: '#cb4da7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4da7;
$custom-light: #de86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4da7",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 317.143,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.18776,
    "h": 340.6
  },
  "luminance": 0.20794
}

Semantic roles & 50–950 ramp

primary
#CB4DA7
secondary
#9FD4AF
accent
#DE744A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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