#A12848#A12848

#A12848 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.157 H 10.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A12848
RGBrgb(161, 40, 72)
HSLhsl(344, 60%, 39%)
HSVhsv(344, 75%, 63%)
CMYKcmyk(0%, 75.2%, 55.3%, 36.9%)
CIE-LABlab(37.05, 50.98, 10.96)
CIE-LCHlch(37.05, 52.15, 12.14°)
OKLaboklab(47.75% 0.1546 0.0278)
OKLCHoklch(47.75% 0.157 10.2)
XYZxyz(16.6280, 9.5649, 7.1003)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12848 #28A181
analogous
#A12885 #A12848 #A14428
triadic
#A12848 #48A128 #2848A1
tetradic
#A12848 #85A128 #28A181 #4428A1
square
#A12848 #85A128 #28A181 #4428A1
split-complementary
#A12848 #28A144 #2885A1
monochromatic
#3F101C #701C32 #A12848 #CE3960 #DA6A87

Accessibility & contrast

On white

7.21
#A12848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A12848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12848
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12848#FFFFFF#000000##FFFFFF
##A128481.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474849
Deuteranopia (green-blind)
#676045
Tritanopia (blue-blind)
#B00535
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12848;
/* rgb */ color: rgb(161, 40, 72);
/* oklch */ color: oklch(47.7% 0.157 10.2);
Tailwind
colors: {
  custom: {
    50: '#c36d7a',
    500: '#a12848',
    950: '#000000',
  },
}
SCSS
$custom: #a12848;
$custom-light: #c36d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12848",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 344.132,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.15709,
    "h": 10.2
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#A12848
secondary
#65C0A8
accent
#E3B944
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140809
muted
#827B7B

Preview Lab

Preview with #A12848

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

Preview Lab → · Contrast checker → · Palette generator →

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