#7D2340#7D2340

#7D2340 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.125 H 5.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7D2340
RGBrgb(125, 35, 64)
HSLhsl(341, 56%, 31%)
HSVhsv(341, 72%, 49%)
CMYKcmyk(0%, 72%, 48.8%, 51%)
CIE-LABlab(29.24, 40.90, 4.21)
CIE-LCHlch(29.24, 41.12, 5.88°)
OKLaboklab(40.63% 0.1249 0.0112)
OKLCHoklch(40.63% 0.125 5.1)
XYZxyz(9.9847, 5.9335, 5.4690)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2340 #237D60
analogous
#7D236D #7D2340 #7D3323
triadic
#7D2340 #407D23 #23407D
tetradic
#7D2340 #6D7D23 #237D60 #33237D
square
#7D2340 #6D7D23 #237D60 #33237D
split-complementary
#7D2340 #237D33 #236D7D
monochromatic
#1D080F #4D1628 #7D2340 #AD3058 #CD4D76

Accessibility & contrast

On white

9.60
#7D2340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D2340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2340
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2340#FFFFFF#000000##FFFFFF
##7D23401.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#4F4B3E
Tritanopia (blue-blind)
#88142F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2340;
/* rgb */ color: rgb(125, 35, 64);
/* oklch */ color: oklch(40.6% 0.125 5.1);
Tailwind
colors: {
  custom: {
    50: '#a76574',
    500: '#7d2340',
    950: '#000000',
  },
}
SCSS
$custom: #7d2340;
$custom-light: #a76574;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2340",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 340.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40626,
    "c": 0.12541,
    "h": 5.1
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#7D2340
secondary
#4CAF90
accent
#E0AF48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D2340

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

Preview Lab → · Contrast checker → · Palette generator →

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