#7D234F#7D234F

#7D234F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.131 H 354.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7D234F
RGBrgb(125, 35, 79)
HSLhsl(331, 56%, 31%)
HSVhsv(331, 72%, 49%)
CMYKcmyk(0%, 72%, 36.8%, 51%)
CIE-LABlab(29.73, 42.56, -5.01)
CIE-LCHlch(29.73, 42.86, 353.28°)
OKLaboklab(41.15% 0.1303 -0.0127)
OKLCHoklch(41.15% 0.131 354.4)
XYZxyz(10.4704, 6.1278, 8.0270)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D234F #237D51
analogous
#7D237C #7D234F #7D2423
triadic
#7D234F #4F7D23 #234F7D
tetradic
#7D234F #7C7D23 #237D51 #24237D
square
#7D234F #7C7D23 #237D51 #24237D
split-complementary
#7D234F #237D24 #237C7D
monochromatic
#1D0813 #4D1631 #7D234F #AD306D #CD4D8C

Accessibility & contrast

On white

9.44
#7D234F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D234F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D234F#FFFFFF#000000##FFFFFF
##7D234F1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B50
Deuteranopia (green-blind)
#4C4C4D
Tritanopia (blue-blind)
#871B36
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d234f;
/* rgb */ color: rgb(125, 35, 79);
/* oklch */ color: oklch(41.1% 0.131 354.4);
Tailwind
colors: {
  custom: {
    50: '#a66580',
    500: '#7d234f',
    950: '#000000',
  },
}
SCSS
$custom: #7d234f;
$custom-light: #a66580;
$custom-dark: #000000;
JSON
{
  "hex": "#7d234f",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 330.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.13093,
    "h": 354.4
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#7D234F
secondary
#4CAF7F
accent
#E09648
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D234F

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

Preview Lab → · Contrast checker → · Palette generator →

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