#7D123B#7D123B

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

Color values

HEX#7D123B
RGBrgb(125, 18, 59)
HSLhsl(337, 75%, 28%)
HSVhsv(337, 86%, 49%)
CMYKcmyk(0%, 85.6%, 52.8%, 51%)
CIE-LABlab(27.05, 46.21, 4.43)
CIE-LCHlch(27.05, 46.42, 5.48°)
OKLaboklab(38.96% 0.1415 0.0117)
OKLCHoklch(38.96% 0.142 4.7)
XYZxyz(9.4640, 5.1097, 4.6248)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D123B #127D54
analogous
#7D1270 #7D123B #7D1E12
triadic
#7D123B #3B7D12 #123B7D
tetradic
#7D123B #707D12 #127D54 #1E127D
square
#7D123B #707D12 #127D54 #1E127D
split-complementary
#7D123B #127D1E #12707D
monochromatic
#1B040D #480A22 #7D123B #B21A54 #E0296F

Accessibility & contrast

On white

10.39
#7D123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D123B
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D123B#FFFFFF#000000##FFFFFF
##7D123B1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333C
Deuteranopia (green-blind)
#4B4738
Tritanopia (blue-blind)
#890025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d123b;
/* rgb */ color: rgb(125, 18, 59);
/* oklch */ color: oklch(39.0% 0.142 4.7);
Tailwind
colors: {
  custom: {
    50: '#a85e70',
    500: '#7d123b',
    950: '#000000',
  },
}
SCSS
$custom: #7d123b;
$custom-light: #a85e70;
$custom-dark: #000000;
JSON
{
  "hex": "#7d123b",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 337.009,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38958,
    "c": 0.14199,
    "h": 4.7
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#7D123B
secondary
#38B384
accent
#F1AA36
background
#FBF5F6
surface
#F5EAEC
border
#CFC6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7D123B

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

Preview Lab → · Contrast checker → · Palette generator →

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