#7D213F#7D213F

#7D213F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.128 H 5.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7D213F
RGBrgb(125, 33, 63)
HSLhsl(340, 58%, 31%)
HSVhsv(340, 74%, 49%)
CMYKcmyk(0%, 73.6%, 49.6%, 51%)
CIE-LABlab(28.92, 41.62, 4.42)
CIE-LCHlch(28.92, 41.85, 6.06°)
OKLaboklab(40.38% 0.1271 0.0117)
OKLCHoklch(40.38% 0.128 5.3)
XYZxyz(9.8993, 5.8079, 5.3014)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D213F #217D5F
analogous
#7D216D #7D213F #7D3121
triadic
#7D213F #3F7D21 #213F7D
tetradic
#7D213F #6D7D21 #217D5F #31217D
square
#7D213F #6D7D21 #217D5F #31217D
split-complementary
#7D213F #217D31 #216D7D
monochromatic
#1C070E #4D1427 #7D213F #AD2E57 #CF4975

Accessibility & contrast

On white

9.72
#7D213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D213F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D213F#FFFFFF#000000##FFFFFF
##7D213F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363940
Deuteranopia (green-blind)
#4E4B3D
Tritanopia (blue-blind)
#88112D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d213f;
/* rgb */ color: rgb(125, 33, 63);
/* oklch */ color: oklch(40.4% 0.128 5.3);
Tailwind
colors: {
  custom: {
    50: '#a76473',
    500: '#7d213f',
    950: '#000000',
  },
}
SCSS
$custom: #7d213f;
$custom-light: #a76473;
$custom-dark: #000000;
JSON
{
  "hex": "#7d213f",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 340.435,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.12765,
    "h": 5.3
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#7D213F
secondary
#4AB08F
accent
#E1AF46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D213F

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

Preview Lab → · Contrast checker → · Palette generator →

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