#712158#712158

#712158 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.129 H 342.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#712158
RGBrgb(113, 33, 88)
HSLhsl(319, 55%, 29%)
HSVhsv(319, 71%, 44%)
CMYKcmyk(0%, 70.8%, 22.1%, 55.7%)
CIE-LABlab(27.58, 41.01, -14.41)
CIE-LCHlch(27.58, 43.47, 340.64°)
OKLaboklab(39.27% 0.123 -0.0386)
OKLCHoklch(39.27% 0.129 342.6)
XYZxyz(9.1156, 5.3039, 9.7743)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712158 #21713A
analogous
#622171 #712158 #712130
triadic
#712158 #587121 #215871
tetradic
#712158 #716221 #21713A #213071
square
#712158 #716221 #21713A #213071
split-complementary
#712158 #307121 #217162
monochromatic
#180712 #421333 #712158 #A02F7D #C8449F

Accessibility & contrast

On white

10.19
#712158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712158
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712158#FFFFFF#000000##FFFFFF
##7121581.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#404656
Tritanopia (blue-blind)
#782239
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #712158;
/* rgb */ color: rgb(113, 33, 88);
/* oklch */ color: oklch(39.3% 0.129 342.6);
Tailwind
colors: {
  custom: {
    50: '#9d6387',
    500: '#712158',
    950: '#000000',
  },
}
SCSS
$custom: #712158;
$custom-light: #9d6387;
$custom-dark: #000000;
JSON
{
  "hex": "#712158",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 318.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.12886,
    "h": 342.6
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#712158
secondary
#49A566
accent
#DE784A
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0F060B
muted
#7E7A7C

Preview Lab

Preview with #712158

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

Preview Lab → · Contrast checker → · Palette generator →

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