#D45CAB#D45CAB

#D45CAB is a light, vivid pink. Relative luminance 0.246; OKLCH L 64.9% C 0.175 H 342.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D45CAB
RGBrgb(212, 92, 171)
HSLhsl(321, 58%, 60%)
HSVhsv(321, 57%, 83%)
CMYKcmyk(0%, 56.6%, 19.3%, 16.9%)
CIE-LABlab(56.68, 56.14, -19.41)
CIE-LCHlch(56.68, 59.40, 340.93°)
OKLaboklab(64.94% 0.1673 -0.0517)
OKLCHoklch(64.94% 0.175 342.8)
XYZxyz(38.3301, 24.5949, 41.2487)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CAB #5CD485
analogous
#C15CD4 #D45CAB #D45C6F
triadic
#D45CAB #ABD45C #5CABD4
tetradic
#D45CAB #D4C15C #5CD485 #5C6FD4
square
#D45CAB #D4C15C #5CD485 #5C6FD4
split-complementary
#D45CAB #6FD45C #5CD4C1
monochromatic
#90266C #C03390 #D45CAB #E18CC4 #EEBDDD

Accessibility & contrast

On white

3.55
#D45CAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D45CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CAB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CAB#FFFFFF#000000##000000
##D45CAB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAE
Deuteranopia (green-blind)
#878FA8
Tritanopia (blue-blind)
#E05C7C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d45cab;
/* rgb */ color: rgb(212, 92, 171);
/* oklch */ color: oklch(64.9% 0.175 342.8);
Tailwind
colors: {
  custom: {
    50: '#e490c4',
    500: '#d45cab',
    950: '#000000',
  },
}
SCSS
$custom: #d45cab;
$custom-light: #e490c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cab",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 320.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6494,
    "c": 0.17516,
    "h": 342.8
  },
  "luminance": 0.24592
}

Semantic roles & 50–950 ramp

primary
#D45CAB
secondary
#AFDDBF
accent
#E17B46
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #D45CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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