#7D123E#7D123E

#7D123E is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.1% C 0.143 H 2.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7D123E
RGBrgb(125, 18, 62)
HSLhsl(335, 75%, 28%)
HSVhsv(335, 86%, 49%)
CMYKcmyk(0%, 85.6%, 50.4%, 51%)
CIE-LABlab(27.13, 46.47, 2.53)
CIE-LCHlch(27.13, 46.54, 3.12°)
OKLaboklab(39.05% 0.1427 0.007)
OKLCHoklch(39.05% 0.143 2.8)
XYZxyz(9.5441, 5.1417, 5.0464)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D123E #127D51
analogous
#7D1273 #7D123E #7D1B12
triadic
#7D123E #3E7D12 #123E7D
tetradic
#7D123E #737D12 #127D51 #1B127D
square
#7D123E #737D12 #127D51 #1B127D
split-complementary
#7D123E #127D1B #12737D
monochromatic
#1B040D #480A23 #7D123E #B21A59 #E02974

Accessibility & contrast

On white

10.36
#7D123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D123E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D123E#FFFFFF#000000##FFFFFF
##7D123E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E333F
Deuteranopia (green-blind)
#4B473C
Tritanopia (blue-blind)
#890026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d123e;
/* rgb */ color: rgb(125, 18, 62);
/* oklch */ color: oklch(39.1% 0.143 2.8);
Tailwind
colors: {
  custom: {
    50: '#a85e73',
    500: '#7d123e',
    950: '#000000',
  },
}
SCSS
$custom: #7d123e;
$custom-light: #a85e73;
$custom-dark: #000000;
JSON
{
  "hex": "#7d123e",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 335.327,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.14282,
    "h": 2.8
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#7D123E
secondary
#38B380
accent
#F1A536
background
#FAF5F6
surface
#F5EAEC
border
#CFC6C7
text
#110508
muted
#80797B

Preview Lab

Preview with #7D123E

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

Preview Lab → · Contrast checker → · Palette generator →

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