#712862#712862

#712862 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.126 H 336.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#712862
RGBrgb(113, 40, 98)
HSLhsl(312, 48%, 30%)
HSVhsv(312, 65%, 44%)
CMYKcmyk(0%, 64.6%, 13.3%, 55.7%)
CIE-LABlab(29.19, 39.48, -18.46)
CIE-LCHlch(29.19, 43.58, 334.94°)
OKLaboklab(40.6% 0.1155 -0.05)
OKLCHoklch(40.6% 0.126 336.6)
XYZxyz(9.7736, 5.9109, 12.1791)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712862 #287137
analogous
#5C2871 #712862 #71283D
triadic
#712862 #627128 #286271
tetradic
#712862 #715C28 #287137 #283D71
square
#712862 #715C28 #287137 #283D71
split-complementary
#712862 #3D7128 #28715C
monochromatic
#170814 #44183B #712862 #9E3889 #C252AB

Accessibility & contrast

On white

9.62
#712862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#712862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712862
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712862#FFFFFF#000000##FFFFFF
##7128621.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#772C41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712862;
/* rgb */ color: rgb(113, 40, 98);
/* oklch */ color: oklch(40.6% 0.126 336.6);
Tailwind
colors: {
  custom: {
    50: '#9c678f',
    500: '#712862',
    950: '#000000',
  },
}
SCSS
$custom: #712862;
$custom-light: #9c678f;
$custom-dark: #000000;
JSON
{
  "hex": "#712862",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 312.329,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.40596,
    "c": 0.1259,
    "h": 336.6
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#712862
secondary
#52A362
accent
#D76C50
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #712862

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

Preview Lab → · Contrast checker → · Palette generator →

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