#7E203F#7E203F

#7E203F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.130 H 5.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7E203F
RGBrgb(126, 32, 63)
HSLhsl(340, 59%, 31%)
HSVhsv(340, 75%, 49%)
CMYKcmyk(0%, 74.6%, 50%, 50.6%)
CIE-LABlab(28.98, 42.33, 4.53)
CIE-LCHlch(28.98, 42.57, 6.10°)
OKLaboklab(40.46% 0.1293 0.012)
OKLCHoklch(40.46% 0.13 5.3)
XYZxyz(10.0187, 5.8289, 5.2992)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E203F #207E5F
analogous
#7E206E #7E203F #7E3020
triadic
#7E203F #3F7E20 #203F7E
tetradic
#7E203F #6E7E20 #207E5F #30207E
square
#7E203F #6E7E20 #207E5F #30207E
split-complementary
#7E203F #207E30 #206E7E
monochromatic
#1C070E #4D1427 #7E203F #AF2C57 #D04875

Accessibility & contrast

On white

9.70
#7E203F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E203F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E203F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E203F#FFFFFF#000000##FFFFFF
##7E203F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363840
Deuteranopia (green-blind)
#4F4B3D
Tritanopia (blue-blind)
#890E2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e203f;
/* rgb */ color: rgb(126, 32, 63);
/* oklch */ color: oklch(40.5% 0.130 5.3);
Tailwind
colors: {
  custom: {
    50: '#a86473',
    500: '#7e203f',
    950: '#000000',
  },
}
SCSS
$custom: #7e203f;
$custom-light: #a86473;
$custom-dark: #000000;
JSON
{
  "hex": "#7e203f",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 63
  },
  "hsl": {
    "h": 340.213,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.12984,
    "h": 5.3
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#7E203F
secondary
#49B18F
accent
#E3AF45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E203F

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

Preview Lab → · Contrast checker → · Palette generator →

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