#7D235E#7D235E

#7D235E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 344.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7D235E
RGBrgb(125, 35, 94)
HSLhsl(321, 56%, 31%)
HSVhsv(321, 72%, 49%)
CMYKcmyk(0%, 72%, 24.8%, 51%)
CIE-LABlab(30.33, 44.55, -13.92)
CIE-LCHlch(30.33, 46.67, 342.64°)
OKLaboklab(41.78% 0.1344 -0.0371)
OKLCHoklch(41.78% 0.139 344.6)
XYZxyz(11.0793, 6.3713, 11.2338)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D235E #237D42
analogous
#6F237D #7D235E #7D2331
triadic
#7D235E #5E7D23 #235E7D
tetradic
#7D235E #7D6F23 #237D42 #23317D
square
#7D235E #7D6F23 #237D42 #23317D
split-complementary
#7D235E #317D23 #237D6F
monochromatic
#1D0816 #4D163A #7D235E #AD3082 #CD4DA1

Accessibility & contrast

On white

9.23
#7D235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D235E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D235E#FFFFFF#000000##FFFFFF
##7D235E1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#85223D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d235e;
/* rgb */ color: rgb(125, 35, 94);
/* oklch */ color: oklch(41.8% 0.139 344.6);
Tailwind
colors: {
  custom: {
    50: '#a6668b',
    500: '#7d235e',
    950: '#000000',
  },
}
SCSS
$custom: #7d235e;
$custom-light: #a6668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d235e",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 320.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.13944,
    "h": 344.6
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#7D235E
secondary
#4CAF6E
accent
#E07C48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D235E

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

Preview Lab → · Contrast checker → · Palette generator →

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