#D277BC#D277BC

#D277BC is a light, vivid pink. Relative luminance 0.305; OKLCH L 69.1% C 0.142 H 336.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#D277BC
RGBrgb(210, 119, 188)
HSLhsl(315, 50%, 65%)
HSVhsv(315, 43%, 82%)
CMYKcmyk(0%, 43.3%, 10.5%, 17.6%)
CIE-LABlab(62.11, 44.93, -20.89)
CIE-LCHlch(62.11, 49.55, 335.06°)
OKLaboklab(69.14% 0.1303 -0.0561)
OKLCHoklch(69.14% 0.142 336.7)
XYZxyz(42.2523, 30.5287, 51.2343)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D277BC #77D28D
analogous
#BA77D2 #D277BC #D2778F
triadic
#D277BC #BCD277 #77BCD2
tetradic
#D277BC #D2BA77 #77D28D #778FD2
square
#D277BC #D2BA77 #77D28D #778FD2
split-complementary
#D277BC #8FD277 #77D2BA
monochromatic
#9B3382 #C349A5 #D277BC #E1A5D3 #F0D3E9

Accessibility & contrast

On white

2.96
#D277BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#D277BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D277BC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D277BC#FFFFFF#000000##000000
##D277BC1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EBE
Deuteranopia (green-blind)
#909BB9
Tritanopia (blue-blind)
#DB7A91
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d277bc;
/* rgb */ color: rgb(210, 119, 188);
/* oklch */ color: oklch(69.1% 0.142 336.7);
Tailwind
colors: {
  custom: {
    50: '#e1a0d0',
    500: '#d277bc',
    950: '#000000',
  },
}
SCSS
$custom: #d277bc;
$custom-light: #e1a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d277bc",
  "rgb": {
    "r": 210,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 314.505,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.14185,
    "h": 336.7
  },
  "luminance": 0.30526
}

Semantic roles & 50–950 ramp

primary
#D277BC
secondary
#C3E2CA
accent
#BE4C28
background
#FEFAFC
surface
#FCF3F9
border
#D5CDD2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D277BC

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

Preview Lab → · Contrast checker → · Palette generator →

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