#D12F6F#D12F6F

#D12F6F is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 57.7% C 0.201 H 2.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D12F6F
RGBrgb(209, 47, 111)
HSLhsl(336, 64%, 50%)
HSVhsv(336, 78%, 82%)
CMYKcmyk(0%, 77.5%, 46.9%, 18%)
CIE-LABlab(47.93, 65.56, 3.22)
CIE-LCHlch(47.93, 65.64, 2.81°)
OKLaboklab(57.74% 0.2011 0.009)
OKLCHoklch(57.74% 0.201 2.5)
XYZxyz(30.1828, 16.7402, 16.6777)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D12F6F #2FD191
analogous
#D12FC0 #D12F6F #D1402F
triadic
#D12F6F #6FD12F #2F6FD1
tetradic
#D12F6F #C0D12F #2FD191 #402FD1
square
#D12F6F #C0D12F #2FD191 #402FD1
split-complementary
#D12F6F #2FD140 #2FC0D1
monochromatic
#6D183A #A02354 #D12F6F #DC6192 #E793B4

Accessibility & contrast

On white

4.83
#D12F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#D12F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D12F6F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D12F6F#FFFFFF#000000##FFFFFF
##D12F6F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E70
Deuteranopia (green-blind)
#827D6B
Tritanopia (blue-blind)
#E3004B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d12f6f;
/* rgb */ color: rgb(209, 47, 111);
/* oklch */ color: oklch(57.7% 0.201 2.5);
Tailwind
colors: {
  custom: {
    50: '#e57798',
    500: '#d12f6f',
    950: '#000000',
  },
}
SCSS
$custom: #d12f6f;
$custom-light: #e57798;
$custom-dark: #000000;
JSON
{
  "hex": "#d12f6f",
  "rgb": {
    "r": 209,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 336.296,
    "s": 63.78,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.20128,
    "h": 2.5
  },
  "luminance": 0.16736
}

Semantic roles & 50–950 ramp

primary
#D12F6F
secondary
#8AD2B5
accent
#E7A541
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D12F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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