#CD48AB#CD48AB

#CD48AB is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.6% C 0.199 H 339.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CD48AB
RGBrgb(205, 72, 171)
HSLhsl(315, 57%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 64.9%, 16.6%, 19.6%)
CIE-LABlab(52.46, 62.76, -25.98)
CIE-LCHlch(52.46, 67.93, 337.51°)
OKLaboklab(61.63% 0.186 -0.0701)
OKLCHoklch(61.63% 0.199 339.4)
XYZxyz(34.8456, 20.5573, 40.6529)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD48AB #48CD6A
analogous
#AD48CD #CD48AB #CD4869
triadic
#CD48AB #ABCD48 #48ABCD
tetradic
#CD48AB #CDAD48 #48CD6A #4869CD
square
#CD48AB #CDAD48 #48CD6A #4869CD
split-complementary
#CD48AB #69CD48 #48CDAD
monochromatic
#792163 #A92E8A #CD48AB #DA78C1 #E7A8D7

Accessibility & contrast

On white

4.11
#CD48AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CD48AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD48AB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD48AB#FFFFFF#000000##000000
##CD48AB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#D84C73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd48ab;
/* rgb */ color: rgb(205, 72, 171);
/* oklch */ color: oklch(61.6% 0.199 339.4);
Tailwind
colors: {
  custom: {
    50: '#e084c4',
    500: '#cd48ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd48ab;
$custom-light: #e084c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd48ab",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 315.338,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.19875,
    "h": 339.4
  },
  "luminance": 0.20554
}

Semantic roles & 50–950 ramp

primary
#CD48AB
secondary
#9CD5AB
accent
#E06F47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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