#CB4AA7#CB4AA7

#CB4AA7 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.192 H 340.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB4AA7
RGBrgb(203, 74, 167)
HSLhsl(317, 55%, 54%)
HSVhsv(317, 64%, 80%)
CMYKcmyk(0%, 63.5%, 17.7%, 20.4%)
CIE-LABlab(52.27, 60.84, -23.95)
CIE-LCHlch(52.27, 65.39, 338.51°)
OKLaboklab(61.37% 0.1808 -0.0644)
OKLCHoklch(61.37% 0.192 340.4)
XYZxyz(34.0532, 20.3871, 38.6934)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4AA7 #4ACB6E
analogous
#AF4ACB #CB4AA7 #CB4A67
triadic
#CB4AA7 #A7CB4A #4AA7CB
tetradic
#CB4AA7 #CBAF4A #4ACB6E #4A67CB
square
#CB4AA7 #CBAF4A #4ACB6E #4A67CB
split-complementary
#CB4AA7 #67CB4A #4ACBAF
monochromatic
#782360 #A83086 #CB4AA7 #D97ABE #E6A9D5

Accessibility & contrast

On white

4.14
#CB4AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB4AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4AA7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4AA7#FFFFFF#000000##000000
##CB4AA71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7984A4
Tritanopia (blue-blind)
#D64D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4aa7;
/* rgb */ color: rgb(203, 74, 167);
/* oklch */ color: oklch(61.4% 0.192 340.4);
Tailwind
colors: {
  custom: {
    50: '#de85c1',
    500: '#cb4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4aa7;
$custom-light: #de85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4aa7",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 316.744,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.19195,
    "h": 340.4
  },
  "luminance": 0.20384
}

Semantic roles & 50–950 ramp

primary
#CB4AA7
secondary
#9DD4AC
accent
#DF7349
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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