#CB40AF#CB40AF

#CB40AF is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.7% C 0.210 H 337.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CB40AF
RGBrgb(203, 64, 175)
HSLhsl(312, 57%, 52%)
HSVhsv(312, 68%, 80%)
CMYKcmyk(0%, 68.5%, 13.8%, 20.4%)
CIE-LABlab(51.22, 65.88, -30.27)
CIE-LCHlch(51.22, 72.50, 335.32°)
OKLaboklab(60.72% 0.1937 -0.0822)
OKLCHoklch(60.72% 0.21 337)
XYZxyz(34.2004, 19.4615, 42.5043)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB40AF #40CB5C
analogous
#A140CB #CB40AF #CB406A
triadic
#CB40AF #AFCB40 #40AFCB
tetradic
#CB40AF #CBA140 #40CB5C #406ACB
square
#CB40AF #CBA140 #40CB5C #406ACB
split-complementary
#CB40AF #6ACB40 #40CBA1
monochromatic
#721F61 #A22C8A #CB40AF #D870C3 #E5A0D7

Accessibility & contrast

On white

4.29
#CB40AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CB40AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB40AF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB40AF#FFFFFF#000000##000000
##CB40AF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#D64872
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb40af;
/* rgb */ color: rgb(203, 64, 175);
/* oklch */ color: oklch(60.7% 0.210 337.0);
Tailwind
colors: {
  custom: {
    50: '#de80c7',
    500: '#cb40af',
    950: '#000000',
  },
}
SCSS
$custom: #cb40af;
$custom-light: #de80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb40af",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 312.086,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.21044,
    "h": 337
  },
  "luminance": 0.19458
}

Semantic roles & 50–950 ramp

primary
#CB40AF
secondary
#95D2A1
accent
#E06647
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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