#7E234F#7E234F

#7E234F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.132 H 354.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7E234F
RGBrgb(126, 35, 79)
HSLhsl(331, 57%, 32%)
HSVhsv(331, 72%, 49%)
CMYKcmyk(0%, 72.2%, 37.3%, 50.6%)
CIE-LABlab(29.92, 42.87, -4.71)
CIE-LCHlch(29.92, 43.13, 353.73°)
OKLaboklab(41.32% 0.1313 -0.0119)
OKLCHoklch(41.32% 0.132 354.8)
XYZxyz(10.6171, 6.2034, 8.0339)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E234F #237E52
analogous
#7E237D #7E234F #7E2523
triadic
#7E234F #4F7E23 #234F7E
tetradic
#7E234F #7D7E23 #237E52 #25237E
square
#7E234F #7D7E23 #237E52 #25237E
split-complementary
#7E234F #237E25 #237D7E
monochromatic
#1E0813 #4E1631 #7E234F #AE306D #CE4E8C

Accessibility & contrast

On white

9.37
#7E234F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E234F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E234F#FFFFFF#000000##FFFFFF
##7E234F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#881B36
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e234f;
/* rgb */ color: rgb(126, 35, 79);
/* oklch */ color: oklch(41.3% 0.132 354.8);
Tailwind
colors: {
  custom: {
    50: '#a76680',
    500: '#7e234f',
    950: '#000000',
  },
}
SCSS
$custom: #7e234f;
$custom-light: #a76680;
$custom-dark: #000000;
JSON
{
  "hex": "#7e234f",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 330.989,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.13183,
    "h": 354.8
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E234F

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

Preview Lab → · Contrast checker → · Palette generator →

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