#D4267B#D4267B

#D4267B is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.0% C 0.215 H 357.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D4267B
RGBrgb(212, 38, 123)
HSLhsl(331, 70%, 49%)
HSVhsv(331, 82%, 83%)
CMYKcmyk(0%, 82.1%, 42%, 16.9%)
CIE-LABlab(48.03, 69.74, -3.91)
CIE-LCHlch(48.03, 69.85, 356.79°)
OKLaboklab(58.03% 0.2148 -0.0094)
OKLCHoklch(58.03% 0.215 357.5)
XYZxyz(31.4221, 16.8175, 20.3265)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4267B #26D47F
analogous
#D426D2 #D4267B #D42826
triadic
#D4267B #7BD426 #267BD4
tetradic
#D4267B #D2D426 #26D47F #2826D4
square
#D4267B #D2D426 #26D47F #2826D4
split-complementary
#D4267B #26D428 #26D2D4
monochromatic
#6C133F #A01D5D #D4267B #E1569A #EA8AB9

Accessibility & contrast

On white

4.81
#D4267B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#D4267B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4267B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4267B#FFFFFF#000000##FFFFFF
##D4267B1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7D
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#E6004E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4267b;
/* rgb */ color: rgb(212, 38, 123);
/* oklch */ color: oklch(58.0% 0.215 357.5);
Tailwind
colors: {
  custom: {
    50: '#e775a1',
    500: '#d4267b',
    950: '#000000',
  },
}
SCSS
$custom: #d4267b;
$custom-light: #e775a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4267b",
  "rgb": {
    "r": 212,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 330.69,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58032,
    "c": 0.21498,
    "h": 357.5
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#D4267B
secondary
#82D4AC
accent
#EC963B
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D4267B

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

Preview Lab → · Contrast checker → · Palette generator →

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