#7D1239#7D1239

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

Color values

HEX#7D1239
RGBrgb(125, 18, 57)
HSLhsl(338, 75%, 28%)
HSVhsv(338, 86%, 49%)
CMYKcmyk(0%, 85.6%, 54.4%, 51%)
CIE-LABlab(26.99, 46.04, 5.71)
CIE-LCHlch(26.99, 46.39, 7.07°)
OKLaboklab(38.9% 0.1407 0.0148)
OKLCHoklch(38.9% 0.142 6)
XYZxyz(9.4132, 5.0894, 4.3568)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1239 #127D56
analogous
#7D126E #7D1239 #7D2112
triadic
#7D1239 #397D12 #12397D
tetradic
#7D1239 #6E7D12 #127D56 #21127D
square
#7D1239 #6E7D12 #127D56 #21127D
split-complementary
#7D1239 #127D21 #126E7D
monochromatic
#1B040C #480A21 #7D1239 #B21A51 #E0296C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1239#FFFFFF#000000##FFFFFF
##7D12391.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)
#30323A
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#890024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1239;
/* rgb */ color: rgb(125, 18, 57);
/* oklch */ color: oklch(38.9% 0.142 6.0);
Tailwind
colors: {
  custom: {
    50: '#a85e6f',
    500: '#7d1239',
    950: '#000000',
  },
}
SCSS
$custom: #7d1239;
$custom-light: #a85e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1239",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 338.131,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38898,
    "c": 0.14151,
    "h": 6
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#7D1239
secondary
#38B386
accent
#F1AD36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1239

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

Preview Lab → · Contrast checker → · Palette generator →

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