#A12248#A12248

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

Color values

HEX#A12248
RGBrgb(161, 34, 72)
HSLhsl(342, 65%, 38%)
HSVhsv(342, 79%, 63%)
CMYKcmyk(0%, 78.9%, 55.3%, 36.9%)
CIE-LABlab(36.35, 52.94, 9.99)
CIE-LCHlch(36.35, 53.88, 10.69°)
OKLaboklab(47.23% 0.161 0.0254)
OKLCHoklch(47.23% 0.163 9)
XYZxyz(16.4412, 9.1914, 7.0380)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12248 #22A17B
analogous
#A12287 #A12248 #A13B22
triadic
#A12248 #48A122 #2248A1
tetradic
#A12248 #87A122 #22A17B #3B22A1
square
#A12248 #87A122 #22A17B #3B22A1
split-complementary
#A12248 #22A13B #2287A1
monochromatic
#3C0D1B #6E1731 #A12248 #D32D5F #DD6086

Accessibility & contrast

On white

7.40
#A12248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12248
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12248#FFFFFF#000000##FFFFFF
##A122481.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12248;
/* rgb */ color: rgb(161, 34, 72);
/* oklch */ color: oklch(47.2% 0.163 9.0);
Tailwind
colors: {
  custom: {
    50: '#c36a7a',
    500: '#a12248',
    950: '#000000',
  },
}
SCSS
$custom: #a12248;
$custom-light: #c36a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12248",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 342.047,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.16295,
    "h": 9
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#A12248
secondary
#5DC2A4
accent
#E8B640
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12248

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

Preview Lab → · Contrast checker → · Palette generator →

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