#812247#812247

#812247 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.133 H 1.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#812247
RGBrgb(129, 34, 71)
HSLhsl(337, 58%, 32%)
HSVhsv(337, 74%, 51%)
CMYKcmyk(0%, 73.6%, 45%, 49.4%)
CIE-LABlab(30.08, 43.29, 0.87)
CIE-LCHlch(30.08, 43.30, 1.15°)
OKLaboklab(41.45% 0.1327 0.0027)
OKLCHoklch(41.45% 0.133 1.2)
XYZxyz(10.7634, 6.2675, 6.6030)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812247 #22815C
analogous
#812277 #812247 #812D22
triadic
#812247 #478122 #224781
tetradic
#812247 #778122 #22815C #2D2281
square
#812247 #778122 #22815C #2D2281
split-complementary
#812247 #22812D #227781
monochromatic
#200812 #51152C #812247 #B12F62 #D04D80

Accessibility & contrast

On white

9.32
#812247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#812247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812247
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812247#FFFFFF#000000##FFFFFF
##8122471.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#504E45
Tritanopia (blue-blind)
#8C1431
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #812247;
/* rgb */ color: rgb(129, 34, 71);
/* oklch */ color: oklch(41.5% 0.133 1.2);
Tailwind
colors: {
  custom: {
    50: '#aa657a',
    500: '#812247',
    950: '#000000',
  },
}
SCSS
$custom: #812247;
$custom-light: #aa657a;
$custom-dark: #000000;
JSON
{
  "hex": "#812247",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 336.632,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41454,
    "c": 0.1327,
    "h": 1.2
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#812247
secondary
#4BB38B
accent
#E1A546
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #812247

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

Preview Lab → · Contrast checker → · Palette generator →

#812247 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva