#D151B3#D151B3

#D151B3 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.5% C 0.195 H 337.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D151B3
RGBrgb(209, 81, 179)
HSLhsl(314, 58%, 57%)
HSVhsv(314, 61%, 82%)
CMYKcmyk(0%, 61.2%, 14.4%, 18%)
CIE-LABlab(54.76, 61.31, -27.03)
CIE-LCHlch(54.76, 67.00, 336.21°)
OKLaboklab(63.54% 0.1804 -0.0731)
OKLCHoklch(63.54% 0.195 337.9)
XYZxyz(37.3742, 22.6980, 45.0518)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151B3 #51D16F
analogous
#AF51D1 #D151B3 #D15173
triadic
#D151B3 #B3D151 #51B3D1
tetradic
#D151B3 #D1AF51 #51D16F #5173D1
square
#D151B3 #D1AF51 #51D16F #5173D1
split-complementary
#D151B3 #73D151 #51D1AF
monochromatic
#85236E #B53096 #D151B3 #DE81C8 #EBB2DD

Accessibility & contrast

On white

3.79
#D151B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D151B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151B3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151B3#FFFFFF#000000##000000
##D151B31.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B6
Deuteranopia (green-blind)
#7C8AB0
Tritanopia (blue-blind)
#DC567B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d151b3;
/* rgb */ color: rgb(209, 81, 179);
/* oklch */ color: oklch(63.5% 0.195 337.9);
Tailwind
colors: {
  custom: {
    50: '#e289ca',
    500: '#d151b3',
    950: '#000000',
  },
}
SCSS
$custom: #d151b3;
$custom-light: #e289ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d151b3",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 314.063,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63542,
    "c": 0.19464,
    "h": 337.9
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#D151B3
secondary
#A5D9B1
accent
#E16B46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D151B3

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

Preview Lab → · Contrast checker → · Palette generator →

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