#7E206B#7E206B

#7E206B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.153 H 337.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7E206B
RGBrgb(126, 32, 107)
HSLhsl(312, 59%, 31%)
HSVhsv(312, 75%, 49%)
CMYKcmyk(0%, 74.6%, 15.1%, 50.6%)
CIE-LABlab(30.72, 47.90, -21.70)
CIE-LCHlch(30.72, 52.58, 335.62°)
OKLaboklab(42.29% 0.1412 -0.059)
OKLCHoklch(42.29% 0.153 337.3)
XYZxyz(11.7748, 6.5313, 14.5476)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E206B #207E33
analogous
#62207E #7E206B #7E203C
triadic
#7E206B #6B7E20 #206B7E
tetradic
#7E206B #7E6220 #207E33 #203C7E
square
#7E206B #7E6220 #207E33 #203C7E
split-complementary
#7E206B #3C7E20 #207E62
monochromatic
#1C0718 #4D1442 #7E206B #AF2C94 #D048B5

Accessibility & contrast

On white

9.11
#7E206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E206B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E206B#FFFFFF#000000##FFFFFF
##7E206B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6D
Deuteranopia (green-blind)
#434D69
Tritanopia (blue-blind)
#852543
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e206b;
/* rgb */ color: rgb(126, 32, 107);
/* oklch */ color: oklch(42.3% 0.153 337.3);
Tailwind
colors: {
  custom: {
    50: '#a76595',
    500: '#7e206b',
    950: '#000000',
  },
}
SCSS
$custom: #7e206b;
$custom-light: #a76595;
$custom-dark: #000000;
JSON
{
  "hex": "#7e206b",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 312.128,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42294,
    "c": 0.15303,
    "h": 337.3
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#7E206B
secondary
#49B15E
accent
#E36545
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E206B

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

Preview Lab → · Contrast checker → · Palette generator →

#7E206B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva