#8A233E#8A233E

#8A233E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.9% C 0.138 H 9.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8A233E
RGBrgb(138, 35, 62)
HSLhsl(344, 60%, 34%)
HSVhsv(344, 75%, 54%)
CMYKcmyk(0%, 74.6%, 55.1%, 45.9%)
CIE-LABlab(31.70, 44.88, 9.36)
CIE-LCHlch(31.70, 45.85, 11.78°)
OKLaboklab(42.9% 0.1362 0.0238)
OKLCHoklch(42.9% 0.138 9.9)
XYZxyz(11.9529, 6.9548, 5.2695)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A233E #238A6F
analogous
#8A2372 #8A233E #8A3C23
triadic
#8A233E #3E8A23 #233E8A
tetradic
#8A233E #728A23 #238A6F #3C238A
square
#8A233E #728A23 #238A6F #3C238A
split-complementary
#8A233E #238A3C #23728A
monochromatic
#280A12 #591728 #8A233E #BB2F54 #D45475

Accessibility & contrast

On white

8.78
#8A233E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A233E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A233E
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A233E#FFFFFF#000000##FFFFFF
##8A233E1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3E
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#97092E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a233e;
/* rgb */ color: rgb(138, 35, 62);
/* oklch */ color: oklch(42.9% 0.138 9.9);
Tailwind
colors: {
  custom: {
    50: '#b26773',
    500: '#8a233e',
    950: '#000000',
  },
}
SCSS
$custom: #8a233e;
$custom-light: #b26773;
$custom-dark: #000000;
JSON
{
  "hex": "#8a233e",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 344.272,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.13826,
    "h": 9.9
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#8A233E
secondary
#51B79D
accent
#E3B945
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A233E

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

Preview Lab → · Contrast checker → · Palette generator →

#8A233E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva