#71255E#71255E

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

Color values

HEX#71255E
RGBrgb(113, 37, 94)
HSLhsl(315, 51%, 29%)
HSVhsv(315, 67%, 44%)
CMYKcmyk(0%, 67.3%, 16.8%, 55.7%)
CIE-LABlab(28.49, 40.20, -16.93)
CIE-LCHlch(28.49, 43.62, 337.16°)
OKLaboklab(40.03% 0.1189 -0.0457)
OKLCHoklch(40.03% 0.127 339)
XYZxyz(9.4922, 5.6428, 11.1768)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71255E #257138
analogous
#5E2571 #71255E #712538
triadic
#71255E #5E7125 #255E71
tetradic
#71255E #715E25 #257138 #253871
square
#71255E #715E25 #257138 #253871
split-complementary
#71255E #387125 #25715E
monochromatic
#170813 #431638 #71255E #9F3484 #C44CA6

Accessibility & contrast

On white

9.87
#71255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#71255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71255E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71255E#FFFFFF#000000##FFFFFF
##71255E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C60
Deuteranopia (green-blind)
#40485C
Tritanopia (blue-blind)
#77283E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71255e;
/* rgb */ color: rgb(113, 37, 94);
/* oklch */ color: oklch(40.0% 0.127 339.0);
Tailwind
colors: {
  custom: {
    50: '#9c658b',
    500: '#71255e',
    950: '#000000',
  },
}
SCSS
$custom: #71255e;
$custom-light: #9c658b;
$custom-dark: #000000;
JSON
{
  "hex": "#71255e",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 315,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40026,
    "c": 0.12738,
    "h": 339
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#71255E
secondary
#4EA463
accent
#DA714E
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0F060C
muted
#7E7A7D

Preview Lab

Preview with #71255E

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

Preview Lab → · Contrast checker → · Palette generator →

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