#A12247#A12247

#A12247 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.163 H 9.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A12247
RGBrgb(161, 34, 71)
HSLhsl(343, 65%, 38%)
HSVhsv(343, 79%, 63%)
CMYKcmyk(0%, 78.9%, 55.9%, 36.9%)
CIE-LABlab(36.33, 52.87, 10.60)
CIE-LCHlch(36.33, 53.92, 11.34°)
OKLaboklab(47.2% 0.1606 0.0269)
OKLCHoklch(47.2% 0.163 9.5)
XYZxyz(16.4089, 9.1784, 6.8676)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12247 #22A17C
analogous
#A12286 #A12247 #A13D22
triadic
#A12247 #47A122 #2247A1
tetradic
#A12247 #86A122 #22A17C #3D22A1
square
#A12247 #86A122 #22A17C #3D22A1
split-complementary
#A12247 #22A13D #2286A1
monochromatic
#3C0D1A #6E1731 #A12247 #D32D5E #DD6085

Accessibility & contrast

On white

7.41
#A12247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A12247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12247
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12247#FFFFFF#000000##FFFFFF
##A122471.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444548
Deuteranopia (green-blind)
#655F44
Tritanopia (blue-blind)
#B00032
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12247;
/* rgb */ color: rgb(161, 34, 71);
/* oklch */ color: oklch(47.2% 0.163 9.5);
Tailwind
colors: {
  custom: {
    50: '#c36a79',
    500: '#a12247',
    950: '#000000',
  },
}
SCSS
$custom: #a12247;
$custom-light: #c36a79;
$custom-dark: #000000;
JSON
{
  "hex": "#a12247",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 342.52,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.16279,
    "h": 9.5
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#A12247
secondary
#5DC2A5
accent
#E8B740
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12247

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

Preview Lab → · Contrast checker → · Palette generator →

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