#7E1235#7E1235

#7E1235 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.142 H 8.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7E1235
RGBrgb(126, 18, 53)
HSLhsl(341, 75%, 28%)
HSVhsv(341, 86%, 49%)
CMYKcmyk(0%, 85.7%, 57.9%, 50.6%)
CIE-LABlab(27.09, 46.00, 8.60)
CIE-LCHlch(27.09, 46.80, 10.59°)
OKLaboklab(38.98% 0.1399 0.0218)
OKLCHoklch(38.98% 0.142 8.8)
XYZxyz(9.4640, 5.1267, 3.8587)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1235 #127E5B
analogous
#7E126B #7E1235 #7E2512
triadic
#7E1235 #357E12 #12357E
tetradic
#7E1235 #6B7E12 #127E5B #25127E
square
#7E1235 #6B7E12 #127E5B #25127E
split-complementary
#7E1235 #127E25 #126B7E
monochromatic
#1B040B #480A1E #7E1235 #B41A4C #E12A65

Accessibility & contrast

On white

10.37
#7E1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1235
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1235#FFFFFF#000000##FFFFFF
##7E12351.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313236
Deuteranopia (green-blind)
#4D4832
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1235;
/* rgb */ color: rgb(126, 18, 53);
/* oklch */ color: oklch(39.0% 0.142 8.8);
Tailwind
colors: {
  custom: {
    50: '#a95e6b',
    500: '#7e1235',
    950: '#000000',
  },
}
SCSS
$custom: #7e1235;
$custom-light: #a95e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1235",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 340.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38977,
    "c": 0.1416,
    "h": 8.8
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#7E1235
secondary
#38B48C
accent
#F2B536
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1235

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

Preview Lab → · Contrast checker → · Palette generator →

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