#7D1138#7D1138

#7D1138 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.8% C 0.142 H 6.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#7D1138
RGBrgb(125, 17, 56)
HSLhsl(338, 76%, 28%)
HSVhsv(338, 86%, 49%)
CMYKcmyk(0%, 86.4%, 55.2%, 51%)
CIE-LABlab(26.87, 46.21, 6.22)
CIE-LCHlch(26.87, 46.63, 7.67°)
OKLaboklab(38.8% 0.1412 0.0161)
OKLCHoklch(38.8% 0.142 6.5)
XYZxyz(9.3726, 5.0478, 4.2214)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1138 #117D56
analogous
#7D116E #7D1138 #7D2011
triadic
#7D1138 #387D11 #11387D
tetradic
#7D1138 #6E7D11 #117D56 #20117D
square
#7D1138 #6E7D11 #117D56 #20117D
split-complementary
#7D1138 #117D20 #116E7D
monochromatic
#1B040C #470A20 #7D1138 #B31850 #E2276A

Accessibility & contrast

On white

10.45
#7D1138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7D1138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1138
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1138#FFFFFF#000000##FFFFFF
##7D11381.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4B4735
Tritanopia (blue-blind)
#890023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d1138;
/* rgb */ color: rgb(125, 17, 56);
/* oklch */ color: oklch(38.8% 0.142 6.5);
Tailwind
colors: {
  custom: {
    50: '#a85e6e',
    500: '#7d1138',
    950: '#000000',
  },
}
SCSS
$custom: #7d1138;
$custom-light: #a85e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1138",
  "rgb": {
    "r": 125,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 338.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.14207,
    "h": 6.5
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#7D1138
secondary
#37B386
accent
#F3AE35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1138

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

Preview Lab → · Contrast checker → · Palette generator →

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