#7E203C#7E203C

#7E203C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.129 H 7.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7E203C
RGBrgb(126, 32, 60)
HSLhsl(342, 59%, 31%)
HSVhsv(342, 75%, 49%)
CMYKcmyk(0%, 74.6%, 52.4%, 50.6%)
CIE-LABlab(28.89, 42.05, 6.41)
CIE-LCHlch(28.89, 42.53, 8.67°)
OKLaboklab(40.37% 0.1281 0.0166)
OKLCHoklch(40.37% 0.129 7.4)
XYZxyz(9.9372, 5.7962, 4.8696)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E203C #207E62
analogous
#7E206B #7E203C #7E3320
triadic
#7E203C #3C7E20 #203C7E
tetradic
#7E203C #6B7E20 #207E62 #33207E
square
#7E203C #6B7E20 #207E62 #33207E
split-complementary
#7E203C #207E33 #206B7E
monochromatic
#1C070E #4D1425 #7E203C #AF2C53 #D04871

Accessibility & contrast

On white

9.73
#7E203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E203C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E203C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E203C#FFFFFF#000000##FFFFFF
##7E203C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383D
Deuteranopia (green-blind)
#4F4B3A
Tritanopia (blue-blind)
#8A0C2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e203c;
/* rgb */ color: rgb(126, 32, 60);
/* oklch */ color: oklch(40.4% 0.129 7.4);
Tailwind
colors: {
  custom: {
    50: '#a86471',
    500: '#7e203c',
    950: '#000000',
  },
}
SCSS
$custom: #7e203c;
$custom-light: #a86471;
$custom-dark: #000000;
JSON
{
  "hex": "#7e203c",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 342.128,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.12917,
    "h": 7.4
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#7E203C
secondary
#49B192
accent
#E3B445
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E203C

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

Preview Lab → · Contrast checker → · Palette generator →

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