#712157#712157

#712157 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.128 H 343.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#712157
RGBrgb(113, 33, 87)
HSLhsl(320, 55%, 29%)
HSVhsv(320, 71%, 44%)
CMYKcmyk(0%, 70.8%, 23%, 55.7%)
CIE-LABlab(27.54, 40.86, -13.82)
CIE-LCHlch(27.54, 43.13, 341.31°)
OKLaboklab(39.22% 0.1227 -0.0369)
OKLCHoklch(39.22% 0.128 343.3)
XYZxyz(9.0745, 5.2874, 9.5576)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712157 #21713B
analogous
#632171 #712157 #71212F
triadic
#712157 #577121 #215771
tetradic
#712157 #716321 #21713B #212F71
square
#712157 #716321 #21713B #212F71
split-complementary
#712157 #2F7121 #217163
monochromatic
#180712 #421333 #712157 #A02F7B #C8449D

Accessibility & contrast

On white

10.21
#712157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#712157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712157
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712157#FFFFFF#000000##FFFFFF
##7121571.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283959
Deuteranopia (green-blind)
#404655
Tritanopia (blue-blind)
#782139
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #712157;
/* rgb */ color: rgb(113, 33, 87);
/* oklch */ color: oklch(39.2% 0.128 343.3);
Tailwind
colors: {
  custom: {
    50: '#9d6386',
    500: '#712157',
    950: '#000000',
  },
}
SCSS
$custom: #712157;
$custom-light: #9d6386;
$custom-dark: #000000;
JSON
{
  "hex": "#712157",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 319.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.12817,
    "h": 343.3
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#712157
secondary
#49A567
accent
#DE7A4A
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0F060B
muted
#7E7A7C

Preview Lab

Preview with #712157

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

Preview Lab → · Contrast checker → · Palette generator →

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