#7D1231#7D1231

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

Color values

HEX#7D1231
RGBrgb(125, 18, 49)
HSLhsl(343, 75%, 28%)
HSVhsv(343, 86%, 49%)
CMYKcmyk(0%, 85.6%, 60.8%, 51%)
CIE-LABlab(26.78, 45.42, 10.86)
CIE-LCHlch(26.78, 46.70, 13.44°)
OKLaboklab(38.68% 0.1375 0.027)
OKLCHoklch(38.68% 0.14 11.1)
XYZxyz(9.2291, 5.0157, 3.3873)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1231 #127D5E
analogous
#7D1266 #7D1231 #7D2912
triadic
#7D1231 #317D12 #12317D
tetradic
#7D1231 #667D12 #127D5E #29127D
square
#7D1231 #667D12 #127D5E #29127D
split-complementary
#7D1231 #127D29 #12667D
monochromatic
#1B040A #480A1C #7D1231 #B21A46 #E0295E

Accessibility & contrast

On white

10.49
#7D1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1231
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1231#FFFFFF#000000##FFFFFF
##7D12311.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323131
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d1231;
/* rgb */ color: rgb(125, 18, 49);
/* oklch */ color: oklch(38.7% 0.140 11.1);
Tailwind
colors: {
  custom: {
    50: '#a95e68',
    500: '#7d1231',
    950: '#000000',
  },
}
SCSS
$custom: #7d1231;
$custom-light: #a95e68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1231",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 342.617,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38677,
    "c": 0.14009,
    "h": 11.1
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#7D1231
secondary
#38B38F
accent
#F1BB36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7D1231

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

Preview Lab → · Contrast checker → · Palette generator →

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