#7D213E#7D213E

#7D213E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.127 H 6.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7D213E
RGBrgb(125, 33, 62)
HSLhsl(341, 58%, 31%)
HSVhsv(341, 74%, 49%)
CMYKcmyk(0%, 73.6%, 50.4%, 51%)
CIE-LABlab(28.89, 41.52, 5.05)
CIE-LCHlch(28.89, 41.83, 6.93°)
OKLaboklab(40.35% 0.1267 0.0133)
OKLCHoklch(40.35% 0.127 6)
XYZxyz(9.8716, 5.7968, 5.1556)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D213E #217D60
analogous
#7D216C #7D213E #7D3221
triadic
#7D213E #3E7D21 #213E7D
tetradic
#7D213E #6C7D21 #217D60 #32217D
square
#7D213E #6C7D21 #217D60 #32217D
split-complementary
#7D213E #217D32 #216C7D
monochromatic
#1C070E #4D1426 #7D213E #AD2E56 #CF4973

Accessibility & contrast

On white

9.73
#7D213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D213E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D213E#FFFFFF#000000##FFFFFF
##7D213E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36383F
Deuteranopia (green-blind)
#4F4B3C
Tritanopia (blue-blind)
#88102D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d213e;
/* rgb */ color: rgb(125, 33, 62);
/* oklch */ color: oklch(40.3% 0.127 6.0);
Tailwind
colors: {
  custom: {
    50: '#a76473',
    500: '#7d213e',
    950: '#000000',
  },
}
SCSS
$custom: #7d213e;
$custom-light: #a76473;
$custom-dark: #000000;
JSON
{
  "hex": "#7d213e",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 341.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40348,
    "c": 0.1274,
    "h": 6
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#7D213E
secondary
#4AB090
accent
#E1B146
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D213E

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

Preview Lab → · Contrast checker → · Palette generator →

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