#702158#702158

#702158 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.128 H 342.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#702158
RGBrgb(112, 33, 88)
HSLhsl(318, 54%, 28%)
HSVhsv(318, 71%, 44%)
CMYKcmyk(0%, 70.5%, 21.4%, 56.1%)
CIE-LABlab(27.40, 40.72, -14.70)
CIE-LCHlch(27.40, 43.29, 340.15°)
OKLaboklab(39.1% 0.1219 -0.0394)
OKLCHoklch(39.1% 0.128 342.1)
XYZxyz(8.9877, 5.2379, 9.7683)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702158 #217039
analogous
#602170 #702158 #702130
triadic
#702158 #587021 #215870
tetradic
#702158 #706021 #217039 #213070
square
#702158 #706021 #217039 #213070
split-complementary
#702158 #307021 #217060
monochromatic
#180713 #411333 #702158 #9F2F7D #C844A0

Accessibility & contrast

On white

10.26
#702158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#702158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702158
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702158#FFFFFF#000000##FFFFFF
##7021581.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#3F4556
Tritanopia (blue-blind)
#772239
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #702158;
/* rgb */ color: rgb(112, 33, 88);
/* oklch */ color: oklch(39.1% 0.128 342.1);
Tailwind
colors: {
  custom: {
    50: '#9c6387',
    500: '#702158',
    950: '#000000',
  },
}
SCSS
$custom: #702158;
$custom-light: #9c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#702158",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 318.228,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39103,
    "c": 0.12809,
    "h": 342.1
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#702158
secondary
#49A465
accent
#DE774A
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0F060B
muted
#7E7A7C

Preview Lab

Preview with #702158

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

Preview Lab → · Contrast checker → · Palette generator →

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