#A22852#A22852

#A22852 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.160 H 5.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A22852
RGBrgb(162, 40, 82)
HSLhsl(339, 60%, 40%)
HSVhsv(339, 75%, 64%)
CMYKcmyk(0%, 75.3%, 49.4%, 36.5%)
CIE-LABlab(37.50, 52.12, 5.22)
CIE-LCHlch(37.50, 52.38, 5.72°)
OKLaboklab(48.2% 0.1593 0.0138)
OKLCHoklch(48.2% 0.16 5)
XYZxyz(17.1835, 9.8105, 8.9698)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22852 #28A278
analogous
#A2288F #A22852 #A23B28
triadic
#A22852 #52A228 #2852A2
tetradic
#A22852 #8FA228 #28A278 #3B28A2
square
#A22852 #8FA228 #28A278 #3B28A2
split-complementary
#A22852 #28A23B #288FA2
monochromatic
#401020 #711C39 #A22852 #CE396C #DA6A91

Accessibility & contrast

On white

7.09
#A22852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A22852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22852
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22852#FFFFFF#000000##FFFFFF
##A228521.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#66614F
Tritanopia (blue-blind)
#B10D3A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a22852;
/* rgb */ color: rgb(162, 40, 82);
/* oklch */ color: oklch(48.2% 0.160 5.0);
Tailwind
colors: {
  custom: {
    50: '#c36d82',
    500: '#a22852',
    950: '#000000',
  },
}
SCSS
$custom: #a22852;
$custom-light: #c36d82;
$custom-dark: #000000;
JSON
{
  "hex": "#a22852",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 339.344,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48197,
    "c": 0.15994,
    "h": 5
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#A22852
secondary
#65C1A1
accent
#E4AD44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A22852

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

Preview Lab → · Contrast checker → · Palette generator →

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