#7D1233#7D1233

#7D1233 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.140 H 9.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7D1233
RGBrgb(125, 18, 51)
HSLhsl(341, 75%, 28%)
HSVhsv(341, 86%, 49%)
CMYKcmyk(0%, 85.6%, 59.2%, 51%)
CIE-LABlab(26.83, 45.57, 9.56)
CIE-LCHlch(26.83, 46.56, 11.85°)
OKLaboklab(38.73% 0.1383 0.024)
OKLCHoklch(38.73% 0.14 9.9)
XYZxyz(9.2722, 5.0330, 3.6146)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1233 #127D5C
analogous
#7D1268 #7D1233 #7D2612
triadic
#7D1233 #337D12 #12337D
tetradic
#7D1233 #687D12 #127D5C #26127D
square
#7D1233 #687D12 #127D5C #26127D
split-complementary
#7D1233 #127D26 #12687D
monochromatic
#1B040B #480A1D #7D1233 #B21A49 #E02962

Accessibility & contrast

On white

10.47
#7D1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7D1233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1233
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1233#FFFFFF#000000##FFFFFF
##7D12331.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313234
Deuteranopia (green-blind)
#4C4730
Tritanopia (blue-blind)
#890021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d1233;
/* rgb */ color: rgb(125, 18, 51);
/* oklch */ color: oklch(38.7% 0.140 9.9);
Tailwind
colors: {
  custom: {
    50: '#a95e6a',
    500: '#7d1233',
    950: '#000000',
  },
}
SCSS
$custom: #7d1233;
$custom-light: #a95e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1233",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 341.495,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.14036,
    "h": 9.9
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#7D1233
secondary
#38B38D
accent
#F1B836
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7D1233

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

Preview Lab → · Contrast checker → · Palette generator →

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