#A12251#A12251

#A12251 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.165 H 4.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A12251
RGBrgb(161, 34, 81)
HSLhsl(338, 65%, 38%)
HSVhsv(338, 79%, 63%)
CMYKcmyk(0%, 78.9%, 49.7%, 36.9%)
CIE-LABlab(36.59, 53.69, 4.53)
CIE-LCHlch(36.59, 53.88, 4.82°)
OKLaboklab(47.48% 0.1644 0.0121)
OKLCHoklch(47.48% 0.165 4.2)
XYZxyz(16.7566, 9.3175, 8.6991)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12251 #22A172
analogous
#A12290 #A12251 #A13222
triadic
#A12251 #51A122 #2251A1
tetradic
#A12251 #90A122 #22A172 #3222A1
square
#A12251 #90A122 #22A172 #3222A1
split-complementary
#A12251 #22A132 #2290A1
monochromatic
#3C0D1E #6E1738 #A12251 #D32D6B #DD608E

Accessibility & contrast

On white

7.33
#A12251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A12251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12251
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12251#FFFFFF#000000##FFFFFF
##A122511.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424652
Deuteranopia (green-blind)
#635F4E
Tritanopia (blue-blind)
#B00037
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12251;
/* rgb */ color: rgb(161, 34, 81);
/* oklch */ color: oklch(47.5% 0.165 4.2);
Tailwind
colors: {
  custom: {
    50: '#c36a81',
    500: '#a12251',
    950: '#000000',
  },
}
SCSS
$custom: #a12251;
$custom-light: #c36a81;
$custom-dark: #000000;
JSON
{
  "hex": "#a12251",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 337.795,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.16483,
    "h": 4.2
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#A12251
secondary
#5DC29D
accent
#E8AA40
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A12251

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

Preview Lab → · Contrast checker → · Palette generator →

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