#7E1230#7E1230

#7E1230 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.141 H 12.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#7E1230
RGBrgb(126, 18, 48)
HSLhsl(343, 75%, 28%)
HSVhsv(343, 86%, 49%)
CMYKcmyk(0%, 85.7%, 61.9%, 50.6%)
CIE-LABlab(26.97, 45.64, 11.83)
CIE-LCHlch(26.97, 47.15, 14.53°)
OKLaboklab(38.85% 0.1378 0.0292)
OKLCHoklch(38.85% 0.141 12)
XYZxyz(9.3550, 5.0831, 3.2843)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1230 #127E60
analogous
#7E1266 #7E1230 #7E2A12
triadic
#7E1230 #307E12 #12307E
tetradic
#7E1230 #667E12 #127E60 #2A127E
square
#7E1230 #667E12 #127E60 #2A127E
split-complementary
#7E1230 #127E2A #12667E
monochromatic
#1B040A #480A1C #7E1230 #B41A44 #E12A5D

Accessibility & contrast

On white

10.41
#7E1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1230
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1230#FFFFFF#000000##FFFFFF
##7E12301.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323230
Deuteranopia (green-blind)
#4D482D
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1230;
/* rgb */ color: rgb(126, 18, 48);
/* oklch */ color: oklch(38.8% 0.141 12.0);
Tailwind
colors: {
  custom: {
    50: '#aa5e67',
    500: '#7e1230',
    950: '#000000',
  },
}
SCSS
$custom: #7e1230;
$custom-light: #aa5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1230",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 343.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.14091,
    "h": 12
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#7E1230
secondary
#38B491
accent
#F2BE36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1230

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

Preview Lab → · Contrast checker → · Palette generator →

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