#AF2270#AF2270

#AF2270 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.187 H 352.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF2270
RGBrgb(175, 34, 112)
HSLhsl(327, 67%, 41%)
HSVhsv(327, 81%, 69%)
CMYKcmyk(0%, 80.6%, 36%, 31.4%)
CIE-LABlab(40.30, 60.46, -9.39)
CIE-LCHlch(40.30, 61.19, 351.18°)
OKLaboklab(51.01% 0.1858 -0.0241)
OKLCHoklch(51.01% 0.187 352.6)
XYZxyz(21.1772, 11.4305, 16.4172)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2270 #22AF61
analogous
#A722AF #AF2270 #AF2229
triadic
#AF2270 #70AF22 #2270AF
tetradic
#AF2270 #AFA722 #22AF61 #2229AF
square
#AF2270 #AFA722 #22AF61 #2229AF
split-complementary
#AF2270 #29AF22 #22AFA7
monochromatic
#490E2E #7C184F #AF2270 #D83690 #E269AC

Accessibility & contrast

On white

6.39
#AF2270 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2270 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2270
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2270#FFFFFF#000000##FFFFFF
##AF22701.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F72
Deuteranopia (green-blind)
#67686D
Tritanopia (blue-blind)
#BD1047
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2270;
/* rgb */ color: rgb(175, 34, 112);
/* oklch */ color: oklch(51.0% 0.187 352.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e99',
    500: '#af2270',
    950: '#000000',
  },
}
SCSS
$custom: #af2270;
$custom-light: #cc6e99;
$custom-dark: #000000;
JSON
{
  "hex": "#af2270",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 326.809,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.18732,
    "h": 352.6
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#AF2270
secondary
#65C891
accent
#EA8B3D
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2270

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

Preview Lab → · Contrast checker → · Palette generator →

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