#7E233F#7E233F

#7E233F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.126 H 6.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7E233F
RGBrgb(126, 35, 63)
HSLhsl(342, 57%, 32%)
HSVhsv(342, 72%, 49%)
CMYKcmyk(0%, 72.2%, 50%, 50.6%)
CIE-LABlab(29.41, 41.13, 5.14)
CIE-LCHlch(29.41, 41.45, 7.12°)
OKLaboklab(40.77% 0.1255 0.0135)
OKLCHoklch(40.77% 0.126 6.1)
XYZxyz(10.1032, 5.9979, 5.3273)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E233F #237E62
analogous
#7E236D #7E233F #7E3423
triadic
#7E233F #3F7E23 #233F7E
tetradic
#7E233F #6D7E23 #237E62 #34237E
square
#7E233F #6D7E23 #237E62 #34237E
split-complementary
#7E233F #237E34 #236D7E
monochromatic
#1E080F #4E1627 #7E233F #AE3057 #CE4E75

Accessibility & contrast

On white

9.55
#7E233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E233F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E233F#FFFFFF#000000##FFFFFF
##7E233F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#504C3D
Tritanopia (blue-blind)
#89132E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e233f;
/* rgb */ color: rgb(126, 35, 63);
/* oklch */ color: oklch(40.8% 0.126 6.1);
Tailwind
colors: {
  custom: {
    50: '#a86573',
    500: '#7e233f',
    950: '#000000',
  },
}
SCSS
$custom: #7e233f;
$custom-light: #a86573;
$custom-dark: #000000;
JSON
{
  "hex": "#7e233f",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 341.538,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.12619,
    "h": 6.1
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#7E233F
secondary
#4CB092
accent
#E0B148
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E233F

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

Preview Lab → · Contrast checker → · Palette generator →

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