#71255D#71255D

#71255D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.127 H 339.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#71255D
RGBrgb(113, 37, 93)
HSLhsl(316, 51%, 29%)
HSVhsv(316, 67%, 44%)
CMYKcmyk(0%, 67.3%, 17.7%, 55.7%)
CIE-LABlab(28.45, 40.04, -16.35)
CIE-LCHlch(28.45, 43.25, 337.78°)
OKLaboklab(39.98% 0.1187 -0.0441)
OKLCHoklch(39.98% 0.127 339.6)
XYZxyz(9.4476, 5.6250, 10.9420)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71255D #257139
analogous
#5F2571 #71255D #712537
triadic
#71255D #5D7125 #255D71
tetradic
#71255D #715F25 #257139 #253771
square
#71255D #715F25 #257139 #253771
split-complementary
#71255D #377125 #25715F
monochromatic
#170813 #431637 #71255D #9F3483 #C44CA5

Accessibility & contrast

On white

9.88
#71255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#71255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71255D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71255D#FFFFFF#000000##FFFFFF
##71255D1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5F
Deuteranopia (green-blind)
#40475B
Tritanopia (blue-blind)
#78273D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71255d;
/* rgb */ color: rgb(113, 37, 93);
/* oklch */ color: oklch(40.0% 0.127 339.6);
Tailwind
colors: {
  custom: {
    50: '#9c658b',
    500: '#71255d',
    950: '#000000',
  },
}
SCSS
$custom: #71255d;
$custom-light: #9c658b;
$custom-dark: #000000;
JSON
{
  "hex": "#71255d",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 315.789,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.12662,
    "h": 339.6
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#71255D
secondary
#4EA465
accent
#DA734E
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0F060C
muted
#7E7A7D

Preview Lab

Preview with #71255D

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

Preview Lab → · Contrast checker → · Palette generator →

#71255D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva