#7D1232#7D1232

#7D1232 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.140 H 10.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7D1232
RGBrgb(125, 18, 50)
HSLhsl(342, 75%, 28%)
HSVhsv(342, 86%, 49%)
CMYKcmyk(0%, 85.6%, 60%, 51%)
CIE-LABlab(26.80, 45.49, 10.21)
CIE-LCHlch(26.80, 46.62, 12.65°)
OKLaboklab(38.7% 0.1379 0.0255)
OKLCHoklch(38.7% 0.14 10.5)
XYZxyz(9.2504, 5.0243, 3.4997)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1232 #127D5D
analogous
#7D1267 #7D1232 #7D2712
triadic
#7D1232 #327D12 #12327D
tetradic
#7D1232 #677D12 #127D5D #27127D
square
#7D1232 #677D12 #127D5D #27127D
split-complementary
#7D1232 #127D27 #12677D
monochromatic
#1B040B #480A1D #7D1232 #B21A47 #E02960

Accessibility & contrast

On white

10.48
#7D1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7D1232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1232
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1232#FFFFFF#000000##FFFFFF
##7D12321.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313232
Deuteranopia (green-blind)
#4D472F
Tritanopia (blue-blind)
#890021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d1232;
/* rgb */ color: rgb(125, 18, 50);
/* oklch */ color: oklch(38.7% 0.140 10.5);
Tailwind
colors: {
  custom: {
    50: '#a95e69',
    500: '#7d1232',
    950: '#000000',
  },
}
SCSS
$custom: #7d1232;
$custom-light: #a95e69;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1232",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 342.056,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.14022,
    "h": 10.5
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#7D1232
secondary
#38B38E
accent
#F1B936
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7D1232

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

Preview Lab → · Contrast checker → · Palette generator →

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